From nobody Sun Jun 1 14:24:00 2025 X-Original-To: pkg@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 4b9K3N57g7z5xkF8 for ; Sun, 01 Jun 2025 14:24:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b9K3N3kTmz3Mlr for ; Sun, 01 Jun 2025 14:24:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748787840; 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=cCw50yf0aWXaAt/mGLB4gMxIaAMp93SiSVSBNMcaNNk=; b=XTsqaGSq5jbdBKycBDCKC+ZkZbwkaKj5CTMEvzAYEiSjOY8tmsoQDeM2Xmnvwed4EG4b4p YDDy/7vk38HKKMl82Rh58TF7OPljs8EA3sM4wV1GUSnER8zTUINUl8t5dasL6BEEfiNzI3 Nla/0lsVqqgsd25nlzRupmZ/rt5YxQkNhsC+P5nsrVLqoOg1O/PHmFI5WTvZOqbScuIFrY nVwEslJ2T5h9tTeTGj8xtaPFrNe+X2YwAudSzryfMVAw5FPLpl+SXhrH5hxPz+FvxS8Nq5 BoPzykgtm2NCCU+jZj7o2CEllGLpJgj2aCM9dgdXmJwE/tl6QU83gGstag3CMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748787840; 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=cCw50yf0aWXaAt/mGLB4gMxIaAMp93SiSVSBNMcaNNk=; b=JSSrTA05/QurjkSR7aFpupaGeOQU7fNPm7FG9koJWN0hB0gfGQl+PTs8pEL6lcRgD08jjZ 0v6CW+j4ZcZ/2bX6KWvpnWI4g3vJ+ZEkEvrMA0ZMXyhs0p4x/HE6q0xfsHBjY2BbLrszDO 0501stw3yCjX08lLdpaET3T5EYO8Z6eArkEDbdAFCzzu/lqRAtKkUod3S76t3YxiN7Ilog oduv2pm57WmQQ1mtGU/kyo3e3VHJ6PxKDTt9XsJFZve79GkLsCeq6NNsf0iABlMq6VFkeg hw8Xg1CI1p0iPIZ85NWcZaROZR3kmZkIvfFLI7NyIx0yXXo9GI8srWgkpzdodQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748787840; a=rsa-sha256; cv=none; b=hNJw3WHwub5UJLbIsL2c0t0CapD5Xak17hd2tONUvrFgPUXI+9/Kh6w0qrgrKWOeGH2zW8 0v/CxvPaZofIzZd7g8502JUMxXdwebI+z27X+PQSt5eBtmH6dOVVvLXUdUDM48KIXXcaQd eL+r2dYw0LBjSaaIoSZz/MAfRAHpm9oTk3Wm9gCLsIgDFNrqoY+zUiEFUl0xDb2LZajoiB YBhd/w0LGm58i6cWpU91RQLiwI9289e2QgG/7ElYKjSmIRAdFGRg5eFfqgwARcr89fJI/g XCW/eEmq+uyPs63qiLi3M6R2ay9ltGIJGJ+HqQTad7md+wyzizxIKvrAzSLteA== 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 4b9K3N3Fg5zBXx for ; Sun, 01 Jun 2025 14:24:00 +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 551EO0cd057339 for ; Sun, 1 Jun 2025 14:24:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 551EO0g1057338 for pkg@FreeBSD.org; Sun, 1 Jun 2025 14:24:00 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: pkg@FreeBSD.org Subject: [Bug 286455] pkg-audit(8) listing false positives for librewolf v137.0.2 with "vuln.xml" of 20250425 Date: Sun, 01 Jun 2025 14:24:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fernape@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286455 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #11 from Mark Millard --- (In reply to ax61 from comment #9) When the port epoch's are different, the port version is not used at all: the epoch difference then overrides any version check. From https://github.com/freebsd/pkg/blob/main/libpkg/pkg_version.c : /* * version_cmp(pkg1, pkg2) returns -1, 0 or 1 depending on if the version * components of pkg1 is less than, equal to or greater than pkg2. No * comparison of the basenames is done. * * The port version is defined by: * ${PORTVERSION}[_${PORTREVISION}][,${PORTEPOCH}] * ${PORTEPOCH} supersedes ${PORTVERSION} supersedes ${PORTREVISION}. * See the commit log for revision 1.349 of ports/Mk/bsd.port.mk * for more information. * * The epoch and revision are defined to be a single number, while the rest * of the version should conform to the porting guidelines. It can contain * multiple components, separated by a period, including letters. * * The tests allow for significantly more latitude in the version numbers * than is allowed in the guidelines. No point in enforcing them here. * That's what portlint is for. * * Jeremy D. Lea. * reimplemented by Oliver Eikemeier */ int pkg_version_cmp(const char * const pkg1, const char * const pkg2) { const char *v1, *v2, *ve1, *ve2; unsigned long e1, e2, r1, r2; int result =3D 0; v1 =3D split_version(pkg1, &ve1, &e1, &r1); v2 =3D split_version(pkg2, &ve2, &e2, &r2); assert (v1 !=3D NULL && v2 !=3D NULL); /* Check epoch, port version, and port revision, in that order. */ if (e1 !=3D e2) result =3D (e1 < e2 ? -1 : 1); . . . --=20 You are receiving this mail because: You are on the CC list for the bug.=