diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-25 19:50:53 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-25 19:57:02 -0700 |
| commit | 098a07dc45b678af22bb47379e75371767385cbf (patch) | |
| tree | 6e5427e597fc5230b8448ce8a440dc29c4e00fc2 /lib/std/http | |
| parent | cbcef2d806c346b317ca233038ea66fe31dbb3c2 (diff) | |
| download | zig-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 'lib/std/http')
0 files changed, 0 insertions, 0 deletions
