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.