summaryrefslogtreecommitdiffstats
path: root/libelf/elf32_updatenull.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-05-12 15:16:35 +0200
committerMark Wielaard <[email protected]>2015-05-18 15:48:04 +0200
commit458027d294ac6e8a8678d9fd0f96759d7196ae2b (patch)
tree0bf45258723e135483b0c9573f966f94bf70ce4d /libelf/elf32_updatenull.c
parent987e3d722d1d3879c51f4ed7ab1da03a75f5f38c (diff)
libelf: Make sure shdrs are valid before storing extended phnum in newphdr.
Creating phdr with more than PN_XNUM phnum requires a valid section zero shdr to store the extended value. Make sure the shdrs are valid. Also fix the error when count was too big to store by setting ELF_E_INVALID_INDEX before failing. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/elf32_updatenull.c')
0 files changed, 0 insertions, 0 deletions