summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2016-10-21 15:24:34 +0200
committerMark Wielaard <[email protected]>2016-11-10 12:11:00 +0100
commit09ec02ec7f7e6913d10943148e2a898264345b07 (patch)
treef144caa8cf844d4643c2a89f84a9bddc993d08d4 /src
parent191000fdedba3fafe4d5b8cddad3f3318b49c3fb (diff)
libelf: Sanity check offset and size before trying to malloc and read data.
Bad sh_off or sh_size could trigger a bad malloc or read. Sanity check the header values first before trying to malloc a huge buffer or reading any data that will certainly fail. https://bugzilla.redhat.com/show_bug.cgi?id=1387584 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions