Skip to content

Fix crypto:macN overlength crash#11329

Open
Mikaka27 wants to merge 1 commit into
erlang:maintfrom
Mikaka27:michal/crypto/crypto-macn-overlength/OTP-20239
Open

Fix crypto:macN overlength crash#11329
Mikaka27 wants to merge 1 commit into
erlang:maintfrom
Mikaka27:michal/crypto/crypto-macn-overlength/OTP-20239

Conversation

@Mikaka27

@Mikaka27 Mikaka27 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Documentation claims "Note that if MacLength is greater than the actual number of bytes returned from the underlying hash, the returned hash will have that shorter length instead.", but this caused a crash instead.

@Mikaka27 Mikaka27 self-assigned this Jul 3, 2026
@Mikaka27 Mikaka27 added the team:PS Assigned to OTP team PS label Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

  2 files   14 suites   5m 4s ⏱️
192 tests 174 ✅  18 💤 0 ❌
480 runs  337 ✅ 143 💤 0 ❌

Results for commit d8df674.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@Mikaka27 Mikaka27 added the testing currently being tested, tag is used by OTP internal CI label Jul 3, 2026
@Mikaka27 Mikaka27 requested review from Whaileee and garazdawi and removed request for Whaileee July 9, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant