This package has been identified via automation as potentially impacted by upcoming Clang 16 changes. The following have been identified as potential issues: [-Werror,-Wimplicit-function-declaration] [-Werror,-Wimplicit-function-declaration] error: implicitly declaring library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration] error: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
Created attachment 827137 [details] clang-14.log build log
Created attachment 827139 [details] clang-15.log build log
Created attachment 827141 [details] clang.diff build log
This fixes the stable branch: https://github.com/Cisco-Talos/clamav/pull/747 If for some reason it's not merged before clang-16 hits, I can always add another patch to the Gentoo package.
(In reply to Michael Orlitzky from comment #4) > This fixes the stable branch: > > https://github.com/Cisco-Talos/clamav/pull/747 > > If for some reason it's not merged before clang-16 hits, I can always add > another patch to the Gentoo package. Please do - these issues can lead to wrong configure results anyway but I also want to try clean up anything off the bug list that's fixable, as it's soooo long :(
Clang 16 is imminent.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a12c3ed66db1fed82adc8010d05214db44ac31ff commit a12c3ed66db1fed82adc8010d05214db44ac31ff Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2023-02-15 22:32:11 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2023-02-15 22:33:55 +0000 app-antivirus/clamav: add 0.103.8 (CVE-2023-20032, CVE-2023-20052). Bug: https://bugs.gentoo.org/879625 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> app-antivirus/clamav/Manifest | 1 + app-antivirus/clamav/clamav-0.103.8.ebuild | 240 +++++++++++++++++++++ .../clamav/files/clamav-0.103.8-c-std.patch | 204 ++++++++++++++++++ 3 files changed, 445 insertions(+)