This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[Bug general/24000] couple of ELF compression testsuite fails with uclibc library
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: elfutils-devel at sourceware dot org
- Date: Tue, 19 Feb 2019 15:39:54 +0000
- Subject: [Bug general/24000] couple of ELF compression testsuite fails with uclibc library
- Auto-submitted: auto-generated
- References: <bug-24000-10460@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Summary|couple of testsuite fails |couple of ELF compression
|with uclibc library |testsuite fails with uclibc
| |library
--- Comment #16 from Mark Wielaard <mark at klomp dot org> ---
Thanks for testing. I pushed this:
commit ff7fe986679b0811591ef6e40cf485fa9f037e07
Author: Mark Wielaard <mark@klomp.org>
Date: Tue Feb 19 16:27:40 2019 +0100
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>
Lets close this bug.
Could you please open a new bug in case you still see other testsuite failures?
--
You are receiving this mail because:
You are on the CC list for the bug.