From nobody Sat Feb 19 22:47:15 2022 X-Original-To: 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 7C3CD19DA900 for ; Sat, 19 Feb 2022 22:47:15 +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 4K1Nwz1dT0z4cJw for ; Sat, 19 Feb 2022 22:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1859611A74 for ; Sat, 19 Feb 2022 22:47:15 +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 21JMlFZk059763 for ; Sat, 19 Feb 2022 22:47:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21JMlF1Q059762 for bugs@FreeBSD.org; Sat, 19 Feb 2022 22:47:15 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: bugs@FreeBSD.org Subject: [Bug 262056] usr.bin/fetch: strtol(3) overflow in -S (--require-size) Date: Sat, 19 Feb 2022 22:47:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645310835; 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; bh=hs7aYO3ClefZn+fdNmDV0MD8BrHBM0MiFkYsMUDycGY=; b=XwMYCof0OZGfdq0y/vhW0RVh1pux4tb0ksMsxpuK8NGo1z0brPaSjfqcisUYTW0LXSTmsR 222pVWXtOc/58ueSmO7H9RiWNqEIJvpaLj9KSzGKW1nIGOHz3Lx6pc23PIspUmNiTl82MH /PEb0z5bJUZzXZBQHDMt6cQW4VC8j7E8Vx5+F0qoBEhJJ+7UwLqJt1+2S0vXSOqRCvy+bN RKdc6IyWcEkaEL9vziuGgjUsXdtvB6SndgVHhfgq6X/YVvNY5AZGgGAHSck975Z+IWGUCF WeYsABdV3LUExaN3gCo0mzuLYgii5yTK09iJ+72xLjoNDKgQ9ofyLAk8RjwBrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645310835; a=rsa-sha256; cv=none; b=W9DTMD8XeGpVMZafr+72M+2tp5nqYp1lLy72bnT/OH2nbL8lqpqD8zvo4nJHCO0f80nkT0 LnrRFK4AxXn4VBi3p0WprjXEaaDBNIq4lrCdOec1woXU/forwdMPl/c632awUZYmDiUagt Z1WCVUch9U9xzkDbml5hKzyFC4xJ96+GTjoNecny9lYV0EQY9GbohpWTlrUXuhogqsyMR3 5a/DVf/h/ov6OCPZOZSgr2xiuX1eh3jK8z3mrIxR5FQAYXLkGRVC93GCzsYuENZ7r+zusH jkm4C5k4LkmMl8nzPx4tmBhwbMaGkPe/ws3aTmXbk3zgu0V1a0bhoDtRXOK4MA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262056 Bug ID: 262056 Summary: usr.bin/fetch: strtol(3) overflow in -S (--require-size) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org print/texlive-texmf after ports 8374a33c804a fails to confirm target file s= ize due to value being larger than LONG_MAX. $ fetch -S 3474113420 https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/texlive-202= 10325-texmf.tar.xz fetch: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/texlive-202= 10325-texmf.tar.xz: size mismatch: expected 2147483647, actual 3474113420 --=20 You are receiving this mail because: You are the assignee for the bug.=