From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DF354385783F; Tue, 18 Jul 2023 12:01:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF354385783F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689681695; bh=1R1BsrhS/skZl6OkDpAa8wJw88bIcVs6L6nxa87yZ9Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NNsw/npIhKDFPBKu3k6beBJd5G7TIL7Cw7ZX2KxdLJqPiUtR/Lk6mB3QWXI13caaI 7TNzUxJs6O7pOOOUuwKG2EETg2TRo+3vgf5REcTBzAEyYMq3o/4c85n60x8hmr/AB6 iKK2I4+L6IQKPYj41EPGx5tZ7m1Ytk2mqUCEf3bY= From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug stdio/12701] scanf accepts non-matching input Date: Tue, 18 Jul 2023 12:01:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ 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=3D12701 --- Comment #24 from Vincent Lef=C3=A8vre --- Note that scanf also accepts "nan(" while it shouldn't (because "nan()" is valid), but for a different reason. See bug 30647 for issues related to sca= nf with nan. --=20 You are receiving this mail because: You are on the CC list for the bug.=