From nobody Wed Jun 10 04:01:30 2026 X-Original-To: testing@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 4gZsXW02Tsz6gv6p for ; Wed, 10 Jun 2026 04:01:31 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gZsXV4Jbwz3wh2 for ; Wed, 10 Jun 2026 04:01:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781064090; 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=usYuzSYSCnHiPUXGcv9G5aph4TWcqXrBqQ+wipOfmLs=; b=RHov+bF+tevwovWOriWU/oaY51/LxiEG4LKTNcHDISPZN7juhPLROFHxXA1mSH25mQoY72 HrlsZNWHt0SESsAw3a51qMedfVly98Kh4E8je2hlluhtJBMJtOMnVYb1h9xKbq7rY+9XzY TDy3PqDivmXTnXEdIckx+A/Uc7jBdkrduCiLtKCgG/xvZQu7y0EmW+pHThwJiQxGr+Wvq9 9Atjozsz5f8ISp6+wDuF3o+Fhe6Auia+k7//m55BD8DfjK+yeY//njZtwgQHL1dJrjv94L oHU/aet2zWlO6Fr2G1n7H5384dO/XqD+zPn8EwLiXAaHLFjPyUmrF3isic5Mew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781064090; a=rsa-sha256; cv=none; b=PyDeYKvbf4fe53Toh2ZuavwJjIgvok12hThIeVKLitbpg7yviGvEdH0jCxtXHQNIVcHgwk 6/VoXKKXftFEtAstrjb2FzEIeObhPmsg0G+2QWnhKzUUhlAVD7PdQmFFxC5aRS9/Tzw4Jg wiMh/Mj/CIgG1qa0n1iFdvs1qa8YM4B/2EP9bZoFPOMrkf/1b2nd7SEp1sF8HHproq7X+o Q0m5Dy47r7OdavbUdS04s+PR/+dwJ402McsPRJO1hQZOtBemhG84JOF7kkc0nYup1G2cjr pyrIRQqk+zSu2Kne9KucSpKFer24WnbW4HWSekulLVcGWy9HS2pxdcIYjLLgag== 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=1781064090; 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=usYuzSYSCnHiPUXGcv9G5aph4TWcqXrBqQ+wipOfmLs=; b=dMtxA6Vnky2Zww9zYb/UwGGXdpW/7GQYn3m43fItcu+3IHzRoGQl3XJdPjgEMXJfqAaHHu khADAvSKiq/GtqSA191aoMzpvuWGKgWSdEefFkuyYxt1VwE4vbq3e8VY1BRYBBTW0JzTJh przac9BuVPQUWRk+nf+U4xr6uYjq6rlS9V2SdTROwd+0cRRf8owXTB6QOquMp9WRxTLTUx IzHCS20W/Y5nPfcbdPiAkMaHnFmBb7WRl0LVgsOPfZy4fi0uVcWvg+53N2CuA00muERE4B xm0O4sf0/L6mTnxw6xhRQ8SCTk1EUu3cGibPIrg67gmcY2lkH5uRKJcapS1OTA== 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 4gZsXV3v8Gz14ds for ; Wed, 10 Jun 2026 04:01:30 +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 65A41UCv002655 for ; Wed, 10 Jun 2026 04:01:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 65A41UCp002654 for testing@FreeBSD.org; Wed, 10 Jun 2026 04:01:30 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: testing@FreeBSD.org Subject: [Bug 294881] test failures with FORTIFY_SOURCE=2 Date: Wed, 10 Jun 2026 04:01:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Testing List-Archive: https://lists.freebsd.org/archives/freebsd-testing List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-testing@freebsd.org Sender: owner-freebsd-testing@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294881 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D52e2e6bfc31a54e53109978434bc8c430= 05aa367 commit 52e2e6bfc31a54e53109978434bc8c43005aa367 Author: Kyle Evans AuthorDate: 2026-05-01 02:57:51 +0000 Commit: Kyle Evans CommitDate: 2026-06-10 04:00:35 +0000 ssp: fix our gets_s implementation under _FORTIFY_SOURCE Annex K specifies an interface for handling constraint violations from gets_s, but we previously broke this for some classes of get_s misuse. Provide a more nuanced version that tries to dodge errors that would trigger a constraint handler while still providing value. Notably, we don't want to trigger a failure unless the passed-in length reasonably fits within an RSIZE_MAX, because gets_s will immediately call larger lengths bogus and fail. PR: 294881 Reviewed by: markj (cherry picked from commit d98f4f0698ef0c5178882c544b4c38542d4780f0) include/ssp/stdio.h | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=