From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32274 invoked by alias); 20 Feb 2019 06:04:07 -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 32115 invoked by uid 48); 20 Feb 2019 06:04:03 -0000 From: "ksd.selvakumar at yahoo dot in" To: elfutils-devel@sourceware.org Subject: [Bug general/24000] couple of ELF compression testsuite fails with uclibc library Date: Wed, 20 Feb 2019 06:04: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: ksd.selvakumar at yahoo dot in X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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/msg00165.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24000 --- Comment #17 from selva --- (In reply to Mark Wielaard from comment #16) > Thanks for testing. I pushed this: >=20 > commit ff7fe986679b0811591ef6e40cf485fa9f037e07 > Author: Mark Wielaard > Date: Tue Feb 19 16:27:40 2019 +0100 >=20 > libelf: Handle zero size decompressed data. >=20=20=20=20=20 > 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. >=20=20=20=20=20 > https://sourceware.org/bugzilla/show_bug.cgi?id=3D24000 >=20=20=20=20=20 > Signed-off-by: Mark Wielaard >=20 > Lets close this bug. >=20 > Could you please open a new bug in case you still see other testsuite > failures? Thanks, opened new one. https://sourceware.org/bugzilla/show_bug.cgi?id=3D24240 --=20 You are receiving this mail because: You are on the CC list for the bug.