From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 19732385DC13; Wed, 27 Sep 2023 16:19:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 19732385DC13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695831571; bh=FxaHwwRCn6/9fQPRAWL7r0IamwNhx/oY5V0mLN9GP5k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WLIWt1FYI3D2kSL29+hr/aTaD3yBzxeJ+NruRKAIYK1mFaMqHGRtNseVK460F5Asv HRd8IoEsCiKVPqZyfc8x3AAt/HDjFVGuZ4cwc9XL6YAHG2Ba6Z/gIKtVYpqUsH6S5B Rzn8GzDVQ7D9awsyL2yaaNriQieXYtcTdacv9Uvg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/111102] illegal pointer arithmetic invoked by std::format("L{:65536}",1) Date: Wed, 27 Sep 2023 16:19:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111102 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9853ad876bd3d9d4685126466f74402e567664b3 commit r13-7918-g9853ad876bd3d9d4685126466f74402e567664b3 Author: Paul Dreik Date: Thu Aug 24 11:43:43 2023 +0100 libstdc++: Add test for illegal pointer arithmetic in format [PR111102] libstdc++-v3/ChangeLog: PR libstdc++/111102 * testsuite/std/format/string.cc: Check wide character format strings with out-of-range widths. (cherry picked from commit 7564fe98657ad5ede34bd08f5279778fa8698865)=