This is the mail archive of the mailing list for the elfutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/24000] couple of ELF compression testsuite fails with uclibc library

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 <>
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.

    Signed-off-by: Mark Wielaard <>

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]