From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 293C33858031; Mon, 11 Jul 2022 09:40:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 293C33858031 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29343] [gdb/symtab] per_cu->length set without initial_length_size Date: Mon, 11 Jul 2022 09:40:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware 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-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 09:40:27 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29343 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > Created attachment 14200 [details] > tentative patch >=20 > This patch fixes the one use: > ... > - this_cu->length =3D cu_header.length + cu_header.initial_length_si= ze; > + this_cu->length =3D cu_header.get_length (); > ... I've committed this bit: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Da4ca6efe058= 9d0a030920a4686b692208c82a028 --=20 You are receiving this mail because: You are on the CC list for the bug.=