fix(value): use-after-free in object merge by jpnurmi · Pull Request #1539 · getsentry/sentry-native

and others added 2 commits

February 23, 2026 16:18
Incref before set_by_key to match the pattern in sentry__value_clone.
On OOM, set_by_key decrefs the value, which may free a value still
referenced by the source object.

Fixes: #1538

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

supervacuus

@jpnurmi jpnurmi deleted the jpnurmi/fix/sentry-value-merge-objects branch

February 24, 2026 08:24