From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110225 invoked by alias); 18 Feb 2019 18:51:30 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 110053 invoked by uid 48); 18 Feb 2019 18:51:26 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/24000] couple of testsuite fails with uclibc library Date: Mon, 18 Feb 2019 18:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-q1/txt/msg00155.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24000 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-02-18 Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg Ever confirmed|0 |1 --- Comment #12 from Mark Wielaard --- Created attachment 11613 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D11613&action=3Ded= it 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? --=20 You are receiving this mail because: You are on the CC list for the bug.