From nobody Wed Apr 24 18:21:28 2024 X-Original-To: ports-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 4VPnPN5ywzz5J5ZJ for ; Wed, 24 Apr 2024 18:21:28 +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 4VPnPN3Tmyz42Bf for ; Wed, 24 Apr 2024 18:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713982888; a=rsa-sha256; cv=none; b=v+I1TDl4m+kMtRLmdAZeuR0jPFv60HCl9DELY3RDeyv9XA/RHWYQnKgWmJXYmE6E9ukgjS h2TnxSMHQWbOkHXtnV0le8l/dRGkEtRWBmZNJnf+W5v/K5pdZQbLj2UoVdfU8/B8d3vWUV xIrc1oZt9P/YZkJUPBgauj0ivgR5yB3DCJoSuGxbhJoLljsqFKocDJyMvSX7+DjJ7Arb2O kxZxcBdnKRgvqcS2MW4KQyrZ0rsyQSjGK/qjPOFWilkx2apCuZ6lHx53wpJ9kk5AznuI5o t8j+GDXbAepBioz0KXWHGh2GNyduj8mpv7g5n+dLA1SuZllofQibd/wfkH88RA== 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=1713982888; 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=eLm1l+abR2Wf0MR/Tij0K0LXWbzEOABajbofR5TAApo=; b=FYLCiDL/2REbBX8LvYLBEbrEWhKvoBBCpv9dqbzK5hfeW5fX13LU9xF3pwta//gVUs/Xlc HC3Wgv4TZAoekUpnu4cZQjrzYeCqi/TD9B6AkQo19/s1rTEmruMGb3wUG60RO1aDnA6fTR C2LGLG9AXOayeC7Pwnc4aorVecbeo8uAmE6hQej5WQpKlTBKC8ub53vfWiwYiG5Q3ANgl+ gfbQhtWT+H33kC12Xoqu1f0q4c717OXbS67ld/QTU4zY1bJB6uzm+3Fd6XPS3ASJxsGQts ZieN00G4CMS7yYv4NX4YmsQ13W57WMT1ZUjq9be7itLdt4uzbY/w9L5/I2FGYQ== 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 4VPnPN35bCzQWC for ; Wed, 24 Apr 2024 18:21:28 +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 43OILSCx058143 for ; Wed, 24 Apr 2024 18:21:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43OILSkf058135 for ports-bugs@FreeBSD.org; Wed, 24 Apr 2024 18:21:28 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: ports-bugs@FreeBSD.org Subject: [Bug 278566] devel/valgrind: __sysctlbyname looks like false positive detect Date: Wed, 24 Apr 2024 18:21:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pjfloyd@wanadoo.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278566 --- Comment #5 from Paul Floyd --- I pushed a fix upstream. commit ac7b5a20cff84c4d13ba0ff4789743e55b24e78f (HEAD -> master, origin/mas= ter, origin/HEAD) Author: Paul Floyd Date: Wed Apr 24 20:14:40 2024 +0200 FreeBSD syswrap: wrong length for __sysctlbyname(name) Copied and pasted from syscall where name is a pointer to array of ints so the size has a '*sizeof(int)'. -byname name is a char* so should not have the *4 factor. From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278566 Testcase slightly modified (clang-formatted, added attribution and changed = it to not output the string which will be flaky in the regression tests). This will be included in the release of Valgrind 3.23 due out on Fri 26 Apr= il 2024. --=20 You are receiving this mail because: You are the assignee for the bug.=