diff options
| author | Mark Wielaard <[email protected]> | 2016-10-21 15:24:34 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-11-10 12:11:00 +0100 |
| commit | 09ec02ec7f7e6913d10943148e2a898264345b07 (patch) | |
| tree | f144caa8cf844d4643c2a89f84a9bddc993d08d4 /src | |
| parent | 191000fdedba3fafe4d5b8cddad3f3318b49c3fb (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
