From nobody Tue Feb 01 03:30:40 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2560619783D7 for ; Tue, 1 Feb 2022 03:30:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jnr6n5Sh9z4hJh for ; Tue, 1 Feb 2022 03:30:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 986EE65D for ; Tue, 1 Feb 2022 03:30:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2113Ueqk035639 for ; Tue, 1 Feb 2022 03:30:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2113UeSF035627 for bugs@FreeBSD.org; Tue, 1 Feb 2022 03:30:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 76398] [libc] stdio can lose data in the presence of signals Date: Tue, 01 Feb 2022 03:30:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 6.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643686242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y/GzwElHC/iGJFtRuNZy6vPkArS+Ql1ry3x7rDy4f8U=; b=THLTEgw3Gvujn7r5h62FNecd2XToSN3INwL1MTzuZTG+bV5ZkmtLaiPz604ebU58uG7Iye gqHkB2E+EWUl9sum/Uyhoj23UXj2djX9lH4t5fgOU0AVk4FRxJi0+6C3DwTptVhBdpRRXH BDUoKGgn829RQL38od8dZHUzENVB/lnquO7XsnhYezfClFBVRWXxrPSN+OOu/g/ElDM6dY jSIcZB82WjiEa88lKXKhRVQRTlaXu5qWcKrKTo8WfrtirFLDVEkoXHQEr46hrn/EZ6NcUP pzZik5cxyfgqswtf2FABDU/pgK9+/r4XP68eh6afMTnhzPTNXx7iiSY14D4InQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643686242; a=rsa-sha256; cv=none; b=cJ9AxW2/TwlN1iELxOtimzVJfKpRhtnNJPA4S4O+3rlyJrGZZDj+mrtqHAkH1/Ij/j3fUj OUgWYvjte1G48P1sQ96j3gyQfNdum0plNgXFsHwRcofAXUpSkQ+9d6fBG/gJywnin66AOV e0SuVm6DFL4fgLegsWcfKE4TT7OlsdnHkExImKGE6Znt8NwS0HY7IiEFRjmch36gG7mwIP AzcTpCDio+vdEGlytRBKzf8DUKzY2zC0WU4LEHy+2221LaQYIhIadjK2zPRwWOiBt4mm0k WPXM8WZ6odVYB9D05e6lRf6JK5tp7XJiHW0xQu1bvo8LJx/nqyrHZKos5cWAHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D76398 --- Comment #9 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dafa9a1f5ec9974793a8744c55036ef5c4= d08903d commit afa9a1f5ec9974793a8744c55036ef5c4d08903d Author: Konstantin Belousov AuthorDate: 2022-01-23 06:52:59 +0000 Commit: Konstantin Belousov CommitDate: 2022-02-01 03:29:15 +0000 __sflush(): on write error, if nothing was written, reset FILE state ba= ck PR: 76398 (cherry picked from commit 86a16ada1ea608408cec370171d9f59353e97c77) lib/libc/stdio/fflush.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=