]> git.ipfire.org Git - thirdparty/squid.git/commit
Silence GnuRegex warnings on gcc 12.1 (#1096)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 22 Jul 2022 23:12:33 +0000 (23:12 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 22 Jul 2022 23:12:42 +0000 (23:12 +0000)
commitf562f5ce5db10be506960b4294942fc140631cfa
treec8a8035567b79c5021d6ee03a45c0879537b566a
parent0ba77a3c30047a93219d766ce5c436e39bc94dbf
Silence GnuRegex warnings on gcc 12.1 (#1096)

GnuRegex does pointer magic that gcc 12.1 doesn't like.

    compat/GnuRegex.c: error: array subscript -1 is outside array bounds
    of 'const char[]' [-Werror=array-bounds]

    compat/GnuRegex.c: error: pointer may be used after 'realloc'
    [-Werror=use-after-free]

A long term fix is to unship GnuRegex which is an old
snapshot and is not maintained.
compat/GnuRegex.c