From nobody Tue Apr 23 17:33:18 2024 X-Original-To: standards@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 4VP8NG38Ybz5HhcL for ; Tue, 23 Apr 2024 17:33:18 +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 4VP8NG266bz4J5d for ; Tue, 23 Apr 2024 17:33:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713893598; a=rsa-sha256; cv=none; b=Pz/JqOojt+QXNXsKbytHJfNlM9wVliRurDeuuUdUvUhhYbilS5Rkbygedy/rG7scH5Lkcd 5h8LDpe91GldgvazxUfOkXv+C6jIK85Nm786gEIDyUFEl4KshbA8Mn8kR/t20g+H9kbgrJ 2yCrcd22Y08/d0urxrlM/vODxyegYni7RNGEfQbWb+gCtzrAhQpmhG2oHb9Y9u7yYObHaK yDz+tGh3ko/6H3xSQeqT3K34cF9Vcmof44Lgg697E7zVJ+TUrq3BXxcxkJ+ldoyd5pvURV aVEsqnVOclpbFozRatUnEM/fvLZ3MogsdYFquWGoxLvMyTgn+KmmT31pFUOa+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713893598; 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=mE9kDsdo2kxs3LW1TiLvMbs26Au4QG8FVOUVyHOyDLo=; b=QSfv8m1y6OgolbtcTwtHli+XMomW1zs6m2G2pBxppUUdX/NFHXgrpYI2LCYMl/YXkULJC9 P07xVppUfuy2gzQFpPzxc9rLwwffaUpTIFx0VFoLH2c+5QHlpGXJrpwYWjkBtTuv9IXWnA ooqMRXcpRzEo9b4p7PyemhqTMu11T+lDRj8P5YrJ9Vvoo7WCDqzdck6dDYrVzfDtNkuBO+ Uz3YHWT9xNc5usqs8+2XiAiANlBT2Am9ZoUkTg1FeJvL8GHfycNlmyMumBkyHRT/J7SgNu r+FjJ8EGCV4CD63M1Ev7HqQid5f8OXuZ/bsUCUUfDQF+LkPDPvBz4XvNge7q7w== 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 4VP8NG1fknzh9w for ; Tue, 23 Apr 2024 17:33:18 +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 43NHXI19020455 for ; Tue, 23 Apr 2024 17:33:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43NHXIJV020451 for standards@FreeBSD.org; Tue, 23 Apr 2024 17:33:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 278556] strerror-related race condition and standards violation in printf and friends Date: Tue, 23 Apr 2024 17:33:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278556 --- Comment #4 from Warner Losh --- I'd missed the subtle difference we needed since printf is also supposed to support the current locale, not just the global one... I like the code in = the review... --=20 You are receiving this mail because: You are the assignee for the bug.=