From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F470384AB72; Tue, 23 Apr 2024 15:32:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F470384AB72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713886336; bh=0T/jk3w/usgnS45ADgzKhv8jry3nuV0x6jnK756OCUs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Nlz8NoVkINtIpvadYSkxDfUItuk25FH3h6VFhlP0tNScHBHF0Y0m/3o6HJbHHuHoJ BFEGg9VbNhHFSUJ7lnVCHZ3Z5gPzgyEEx9Cb0KUQo4DuXIe58dIeCUn1iR6PIBmkfD cGO5eu273JLp+WG6BPEot2wqUjaMjv5Y/Nud2h1A= From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/29917] getdelim/getline() fail to set ferror on some errors, violate POSIX Date: Tue, 23 Apr 2024 15:32:15 +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: 2.36 X-Bugzilla-Keywords: std-posix X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.37 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone bug_status resolution cc 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=3D29917 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.37 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |carlos at redhat dot com --- Comment #1 from Carlos O'Donell --- Fixed by this commit: commit a09183aed7bb8ace211e042b2e6e982bcc004957 Author: Andreas Schwab Date: Mon Dec 19 12:40:45 2022 +0100 getdelim: ensure error indicator is set on error (bug 29917) POSIX requires that getdelim and getline set the error indicator on the stream when an error occured, in addition to setting errno. This is fixed in glibc 2.37. --=20 You are receiving this mail because: You are on the CC list for the bug.=