From nobody Sun Feb 22 07:18:02 2026 X-Original-To: riscv@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 4fJb161ShKz6SBgx for ; Sun, 22 Feb 2026 07:18:02 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fJb160wVCz3ytf for ; Sun, 22 Feb 2026 07:18:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771744682; 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=8+1UkVl/7Vw3RgUFGX+hnHyFmXZ9jB+Ex+VC4ewNG+k=; b=Ko3bPfGFz3b0xAdbKMq/33sMEjXheDCNDtTB+SC9AMxlh0XLu5J2uGLbWafV8xYiI2WYuD JuR/+l8p8O7w4HbkD8cBuNcL/V9GdGoBoR5zdaN2mYUQmxt7W40223XAt9yJdtigwBuN16 FFJxOJ8Fi0ecPQC7F70rfJ/rF1EhCpWCYkEf8Wj0JOgrkT9wRSodyPuST3s4uzE8m6kOuB Tkw9rspUVYctIQpyCWzTkb9kHB+M00mFFzsPUVJN/+uSwcXGR+PA5AXWyKaqrFF6+xGLJR +W+PF6aSLQwnZAmzLnpVRjf/QSBwx4hK6rEAAkKz4dif0HlzpT27b4c9ifK1Ew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771744682; a=rsa-sha256; cv=none; b=pXOanexTPl8Y4GsM0o/6BtNpTzMaQvPf2mxhWbqLuMqV0h5wwA7VM2AZK69LrMHamPBcyv xkUBaOxhgJ/OFHq1RaM8bBXEKOTys3lRkFjxvobOf3hvYvqAKsRiVKMFXNR3B/pkssKSax Ygwms1c+dX+wqN6Wa3jtzZwXpQ+lYDiK6A+IF7jqwn1Eb/EQBFW/5UpU8L/R9XRpBKtkhM 0DGfdrbn5srfBITT1GeFir//dwgrIWeiBsDqJWaNzFzTUZH+6GvvV9vzKnIAhPYlBNhDVE PGh92RgW1ntOR4D4Etbli5nv1a+KaKjMzw/yH27sXYoIG5kA/IZ4S3IPO0lH5Q== 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=1771744682; 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=8+1UkVl/7Vw3RgUFGX+hnHyFmXZ9jB+Ex+VC4ewNG+k=; b=LSPujl8ub1l6hMFk6HjClX0+Rt0YcYwyyqUGaYz2MtXk2lRO/iMwWwG3jtQpq9r8ITWfnK kLpsO1kur2qiEIm/sXZT4F6ACp4hhiiFLJcRsLe/GxNHQHIzAgDPa+ObiD+3qd2GyP5FJs t9NOGWUz8+DJ6eGlcbjxV/pFUbU8eTuUrRS9o/Vqx/gWuKsfU/1e8CVfrrZCQJOjwYlYD/ f7tPfQ0mR673DJl0Z5587MGDfJ1GgDetjWcwvZsyBSRstpPuchmgAO16cPQCe9Gr+XhafU ev2L7sPMDtijqEzyjVtAe7pZcsYcYxfdfgse0NGhK/JiK2HCK3b7ikQvGyUW6w== 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 4fJb160WSzzb5s for ; Sun, 22 Feb 2026 07:18:02 +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 61M7I1n9079195 for ; Sun, 22 Feb 2026 07:18:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61M7I1kT079194 for riscv@FreeBSD.org; Sun, 22 Feb 2026 07:18: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: riscv@FreeBSD.org Subject: [Bug 293353] No overflow handling in the strnlen function Date: Sun, 22 Feb 2026 07:18:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: maxim.like.python@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@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: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293353 --- Comment #1 from Max Last --- https://github.com/freebsd/freebsd-src/blob/6a6152bc292fbd86015507978c6d355= 6ef3915a1/lib/libc/riscv/string/strnlen.S#L30 There's an overflow here. --=20 You are receiving this mail because: You are the assignee for the bug.=