[Bug 262056] usr.bin/fetch: strtol(3) overflow in -S (--require-size)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Feb 2022 22:47:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262056

            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 size
due to value being larger than LONG_MAX.

$ fetch -S 3474113420
https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/texlive-20210325-texmf.tar.xz
fetch:
https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/texlive-20210325-texmf.tar.xz:
size mismatch: expected 2147483647, actual 3474113420

-- 
You are receiving this mail because:
You are the assignee for the bug.