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

mark at klomp dot org sourceware-bugzilla@sourceware.org
Mon Feb 18 18:51:00 GMT 2019


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-18
           Assignee|unassigned at sourceware dot org   |mark at klomp dot org
     Ever confirmed|0                           |1

--- Comment #12 from Mark Wielaard <mark at klomp dot org> ---
Created attachment 11613
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11613&action=edit
Handle malloc(0) specially when decompressing

(In reply to selva from comment #10)
> Lets compress 22 .sbss, size: 0
> elf_[un]compress failed for section 22: out of memory

That is interesting. It looks like your malloc implementation returns NULL when
calling malloc (0). That seems valid, but somewhat unfortunate.

Could you try the following patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list