From nobody Tue Apr 23 17:19:01 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 4VP83n4VT5z5HfZw for ; Tue, 23 Apr 2024 17:19:01 +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 4VP83n2sYVz4Gfm for ; Tue, 23 Apr 2024 17:19:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713892741; a=rsa-sha256; cv=none; b=KRtJCaO6gfdgfOw0i0pYcsek3elQ3bERrSJN/wY4QOy/x7FOJonRSzPkAGpZnf1YAg4SLM w8KF/PoZ9E4kJqxKotye99mNUv3jGDFpRxHM/0Rdb6mq4dvz0PClGBu/u5qiji9w0Rt7FU eXVG6pdKg2kgK4d9SlX746BiNw346CAFv2ifLe9mmMsmPQi24BAL+0lqxeFbcDuEh3eNO5 dzhR4IW+/60frMA8+jlhhs11eNHL6voUEbxMmX0a7X5tLxH/a5VJ0OG3iI4E2L+7zAEVI6 Jl31cfdgVEp6TTeNKy1uybFAQ1xYPji0ElGdST4TsTGlaDczeVoPLeCw4l5VCw== 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=1713892741; 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=TUpv9wMmD7wo4iR+r8nGNG5N5jcq69JidL6/sjNKEaw=; b=dkZiQdYGuSmdvUds5moAy6pRIlJJDpUrKMy1NejxcTk9qg+19o/J5p0LYv8dSQt817QDHJ 0BiXpaoZbUGxxDhXbqy+mVu4lkWNwxirFr51sl7a/WSoG3MgKc3fBAVS/LeNas20Go6rXe Gp4R7QvWsjHjj8tj3in+34Q0Ba+Xd4XhDgB5jmHnuZS50kh4djbI8uvFbWGDo1kXt83pDr 44zGn+JzIyoXVTdQ/6qfGHnjzdTZvWd7elXODYpSAEI98ZAqcOjreFFBYMzgr3diZ+wIxq 8ZZpCqiIShQVXyJD3t2P2LSnoKRyEy6eMepSDKHLiAyn5Av5XsyTqsV/SC0p3w== 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 4VP83n2M84zgZk for ; Tue, 23 Apr 2024 17:19:01 +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 43NHJ18r032351 for ; Tue, 23 Apr 2024 17:19:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43NHJ1V8032344 for standards@FreeBSD.org; Tue, 23 Apr 2024 17:19:01 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:19:01 +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: kib@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: cc 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 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #3 from Konstantin Belousov --- I believe the 'non-MT-safe version' refer to using the global locale in strerror() etc. From this PoV, use of strerror_r() is still wrong. Also, there is at least one more usage of strerror() in the printf() machin= ery. I put my proposal at https://reviews.freebsd.org/D44916 --=20 You are receiving this mail because: You are the assignee for the bug.=