summaryrefslogtreecommitdiffstats
path: root/src/ar.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-04-22 23:26:34 +0200
committerMark Wielaard <[email protected]>2014-04-24 11:33:54 +0200
commit7c680a24bcc1757c2b01152dd52fdbd55e7846bb (patch)
treeced17961da18ee3ed943172ee88fdf40e5747bf7 /src/ar.c
parent740d1fe49758f28aad50b1d67b139a1564d73bbd (diff)
readelf: handle_core_item make sure variable length array isn't zero size.
The printed array should have at least space for the terminating zero char. Found by gcc -fsanitize=undefined while running run-readelf-vmcoreinfo.sh. runtime error: variable length array bound evaluates to non-positive value 0 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/ar.c')
0 files changed, 0 insertions, 0 deletions