From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3741 invoked by alias); 26 Oct 2019 00:28:38 -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 3691 invoked by uid 48); 26 Oct 2019 00:28:34 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/25077] unstrip bad handling of sh_entsize of the symver section Date: Sat, 26 Oct 2019 00:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org 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: bug_status resolution 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-q4/txt/msg00038.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25077 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Mark Wielaard --- commit da5a32a400da6a03a96f0aff10aff2d86bd9baad (HEAD -> master) Author: Mark Wielaard Date: Sat Oct 19 14:37:46 2019 +0200 unstrip: Don't try to write extra bogus versym data. If the sh_entsize of the symver section was bogus (bigger than necessar= y) then some bogus data would be written out (except that then fails becau= se pwrite would probably fail). Fix that by ignoring the bogus sh_entsize and use the actual symver data size. https://sourceware.org/bugzilla/show_bug.cgi?id=3D25077 Signed-off-by: Mark Wielaard --=20 You are receiving this mail because: You are on the CC list for the bug.