[Bug 267169] Build of recent -CURRENT fails with external GCC toolchain

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Oct 2022 13:41:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267169

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |des@FreeBSD.org,
                   |                            |emaste@freebsd.org

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
From the log:

/usr/src/lib/libfetch/http.c: In function 'http_digest_auth':
/usr/src/lib/libfetch/http.c:1285:9: error: 'DigestCalcResponse' reading 33
bytes from a region of size 1 [-Werror=stringop-overread]
 1285 |         DigestCalcResponse(HA1, c->nonce, noncecount, cnonce, c->qop,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1286 |                            "GET", url->doc, "", digest);
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/lib/libfetch/http.c:1285:9: note: referencing argument 8 of type
'const char[33]'
/usr/src/lib/libfetch/http.c:1285:9: note: referencing argument 9 of type
'char[33]'
/usr/src/lib/libfetch/http.c:1175:1: note: in a call to function
'DigestCalcResponse'
 1175 | DigestCalcResponse(
      | ^~~~~~~~~~~~~~~~~~

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