diff options
| author | Mark Wielaard <[email protected]> | 2014-04-22 23:26:34 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-04-24 11:33:54 +0200 |
| commit | 7c680a24bcc1757c2b01152dd52fdbd55e7846bb (patch) | |
| tree | ced17961da18ee3ed943172ee88fdf40e5747bf7 /src/symbolhash.c | |
| parent | 740d1fe49758f28aad50b1d67b139a1564d73bbd (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/symbolhash.c')
0 files changed, 0 insertions, 0 deletions
