diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-06-12 19:09:30 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-12 19:09:30 -0700 |
| commit | 2ad073ec6d4e2be967f18c9907844404a7eed42e (patch) | |
| tree | 56c925bd7df84e5f223c31a7c8fa90606c8e2dc9 /lib/std/Build/Step/Compile.zig | |
| parent | 4b7c1e5c300c471618c9b12646247ef887a3a576 (diff) | |
| download | zig-2ad073ec6d4e2be967f18c9907844404a7eed42e.tar.gz zig-2ad073ec6d4e2be967f18c9907844404a7eed42e.zip | |
link/Plan9: fix UAF of symbol names
Long term, linker backends will need to manage their own string tables
for things like this because my mandate is: no long-lived pointers
allowed in any of the codepaths touched by incremental compilation, so
that we can serialize and deserialize trivially.
Short term, I solved this with a couple calls to Allocator.dupe,
incurring some harmless leaks.
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
0 files changed, 0 insertions, 0 deletions
