Skip to content

appsec: Fix segfault iterating mapping#3517

Merged
cataphract merged 2 commits intomasterfrom
glopes/fix-mapping-segfault
Dec 5, 2025
Merged

appsec: Fix segfault iterating mapping#3517
cataphract merged 2 commits intomasterfrom
glopes/fix-mapping-segfault

Conversation

@cataphract
Copy link
Copy Markdown
Contributor

@cataphract cataphract commented Dec 5, 2025

Description

There were two reports of crashes inside the code iterating the tree map msgpack::v3::adaptor::(anonymous namespace)::mapping (the node pointer becoming corrupted). While ultimately the cause of the crash could not be determined, change it to be a true const, with no initialization/deinitialization code associated in order to fix the problem (the variable now lives in .data.rel.ro).

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@cataphract cataphract requested a review from a team as a code owner December 5, 2025 11:51
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Dec 5, 2025

Benchmarks [ appsec ]

Benchmark execution time: 2025-12-05 12:07:26

Comparing candidate commit c4a714a in PR branch glopes/fix-mapping-segfault with baseline commit 29eb67b in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics.

@cataphract cataphract merged commit e323e76 into master Dec 5, 2025
2004 of 2009 checks passed
@cataphract cataphract deleted the glopes/fix-mapping-segfault branch December 5, 2025 12:32
@github-actions github-actions Bot added this to the 1.15.0 milestone Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants