On Wed, 2024-09-04 at 19:19 +0000, Micah Snyder (micasnyd) via clamav-
users wrote:
> Read this online at
> https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html
>
> Today, we are publishing the 1.4.1, 1.3.2, 1.0.7, and 0.103.12 security patch
> versions.
v0.103.12 fails to build with gcc-14.2:
regex/engine.c: In function 'smatcher':
regex/engine.c:226:44: error: assignment to 'const char **' from
incompatible pointer type 'char **' [-Wincompatible-pointer-types]
226 | m->lastpos = (char
**)cli_malloc((g->nplus+1) *
I think that (char **) cast just needs to be a (const char **) to match
the type of lastpos. git HEAD looks like it has the same problem (but I
haven't tested).
_______________________________________________
Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation
https://docs.clamav.net/#mailing-lists-and-chat