aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-04-14 15:16:51 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-04-14 15:16:55 +0200
commit4d77ef25f948cac32e4d5fd3f9df019e728fcb45 (patch)
tree919aef64f0588c0ab864ac07b51b27612948dd0e /lib/std
parent7a0022725342be8d3ea555a635da51f0e8c47b25 (diff)
downloadzig-4d77ef25f948cac32e4d5fd3f9df019e728fcb45.tar.gz
zig-4d77ef25f948cac32e4d5fd3f9df019e728fcb45.zip
elf: check symtab section headers size when writing globals
Without this, it may happen we write the globals without extending the symtab section header's size. This can potentially lead to clobbering some data in the file, or simply omitting the globals from the symtab when displaying with support tooling such as `readelf`.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions