From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 668F83858417; Thu, 11 Apr 2024 01:48:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 668F83858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712800110; bh=jRgm+x36Cgp52RNQklJmEFPFPJKw7QL3JudRv1WcIfw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=H18MbVx4h0QuQ0GjOApdaFGWdOmyKIdMRrsQaDdGu0f4fDkAWsIxOEoWbn4qgH908 RMvDwFmhWel8eNszcy7z92l3NWRWyf2xd1xubBuNATMhEEOb+K7w04wntfBFtSVy0X YI1CECaRsvtGa1KZU7j7XI4vVIac7273GB0w0GSY= From: "N1nEmAn at proton dot me" To: gdb-prs@sourceware.org Subject: [Bug python/31631] just run gdb and source the poc can make the memory corrupt/exhausted Date: Thu, 11 Apr 2024 01:48:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: N1nEmAn at proton dot me X-Bugzilla-Status: UNCONFIRMED 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31631 --- Comment #3 from N1nEmAn --- (In reply to Tom de Vries from comment #1) > So, we do: > ... > import gdb > gdb.selected_inferior().read_memory(0, 18446744073709551615) > ... > and get a virtual memory exhausted error. i think we can fix the python code of gdb, and add a check for the number if valid. --=20 You are receiving this mail because: You are on the CC list for the bug.=