This is the mail archive of the elfutils-devel@sourceware.org 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 testsuite fails with uclibc library


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.

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