aboutsummaryrefslogtreecommitdiff
path: root/src/register_manager.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-25 19:50:53 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-10-25 19:57:02 -0700
commit098a07dc45b678af22bb47379e75371767385cbf (patch)
tree6e5427e597fc5230b8448ce8a440dc29c4e00fc2 /src/register_manager.zig
parentcbcef2d806c346b317ca233038ea66fe31dbb3c2 (diff)
downloadzig-098a07dc45b678af22bb47379e75371767385cbf.tar.gz
zig-098a07dc45b678af22bb47379e75371767385cbf.zip
link.Elf: fix UAF in lowerAnonDecl
The main problem being fixed here is there was a getOrPut() that held on to a reference to the value pointer too long, and meanwhile the call to `lowerConst` ended up being recursive and mutating the hash map, invoking undefined behavior. caught via #17719
Diffstat (limited to 'src/register_manager.zig')
0 files changed, 0 insertions, 0 deletions