From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB2B5388CC3F; Wed, 30 Mar 2022 14:48:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB2B5388CC3F From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libelf/29000] Conditional jump or move depends on uninitialised value in elf_compress_gnu Date: Wed, 30 Mar 2022 14:48:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libelf 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-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2022 14:48:42 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29000 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Mark Wielaard --- (In reply to Evgeny Vereshchagin from comment #4) > I rebased the "fuzz" branch on top of my fork and ran all the tests in > https://github.com/evverx/elfutils/pull/73. MSan no longer complains. Tha= nks! Thanks for testing. Pushed as: commit e3e2ae06fbfcd1b2f3de6945689ef9d9c94a2123 Author: Mark Wielaard Date: Wed Mar 30 00:17:08 2022 +0200 libelf: Also copy/convert partial datastructures in xlate functions The generated xlate functions can only convert full datastructures, dropping any trailing partial data on the floor. That means some of the data might be undefined. Just copy over the trailing bytes as is. That data isn't really usable. But at least it is defined data. https://sourceware.org/bugzilla/show_bug.cgi?id=3D29000 Signed-off-by: Mark Wielaard --=20 You are receiving this mail because: You are on the CC list for the bug.=