Skip to content

erts: Check for duplicated native record fields in binary_to_term/1 - #11410

Merged
lucioleKi merged 1 commit into
erlang:maintfrom
lucioleKi:isabell/erts/fix/GH-11398/OTP-20276
Aug 5, 2026
Merged

erts: Check for duplicated native record fields in binary_to_term/1#11410
lucioleKi merged 1 commit into
erlang:maintfrom
lucioleKi:isabell/erts/fix/GH-11398/OTP-20276

Conversation

@lucioleKi

Copy link
Copy Markdown
Contributor

Fix #11398

@lucioleKi lucioleKi added this to the OTP-29.1 milestone Jul 31, 2026
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

    3 files    136 suites   48m 57s ⏱️
1 683 tests 1 627 ✅ 56 💤 0 ❌
2 326 runs  2 252 ✅ 74 💤 0 ❌

Results for commit 9c7adf5.

♻️ 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

@lucioleKi lucioleKi self-assigned this Jul 31, 2026
@lucioleKi lucioleKi added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI labels Jul 31, 2026
qsort(fields, num_fields, sizeof(struct erl_record_field),
(int (*)(const void *, const void *)) record_compare);

for (Sint i = 1; i < num_fields; i++) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick for later: it might be worth sorting ourselves so that we won't have to compare keys once again here.

@lucioleKi
lucioleKi merged commit 31b3745 into erlang:maint Aug 5, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants