Files
third_party_elfutils/libelf
Mark Wielaard ff7fe98667 libelf: Handle zero size decompressed data.
This is a corner case that will most likely never occur in practice,
but we have several testcases that compress and decompress zero sized
data. In that case during decompression we might malloc a buffer of
size zero. It is allowed for malloc to return NULL in that case. But
we do need a non-NULL buffer to return and set as result. So make sure
to always at least allocate one byte. Also make sure that we don't
allocate a zero sized conversion buffer for the data.

https://sourceware.org/bugzilla/show_bug.cgi?id=24000

Signed-off-by: Mark Wielaard <mark@klomp.org>
2019-02-19 16:27:40 +01:00
..
2015-09-23 15:50:00 +02:00
2018-02-10 03:19:26 +01:00
2018-02-10 03:19:26 +01:00
2018-06-21 20:30:19 +02:00