ClamAV 0.103.0 builds (and runs) fine most of the time, but I do see
(infrequent) failing checks on the build servers for openSUSE. This
could be a race condition in the tests and might depend on the number
of cores or CPU of the buildserver it runs on.
One thing that does concern me slightly, is the number of -Wformat
warning in the tests, for example
[ 166s] In file included from check_clamav.c:11:
[ 166s] check_clamav.c: In function 'diff_file_mem':
[ 166s] check_clamav.c:1267:26: warning: format '%d' expects argument
of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned
int'} [-Wformat=]
[ 166s] 1267 | ck_assert_msg(!!buf, "unable to malloc buffer: %d", len);
[ 166s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
[ 166s] | |
[ 166s] |
size_t {aka long unsigned int}
[ 166s] check_clamav.c:1267:53: note: format string is defined here
[ 166s] 1267 | ck_assert_msg(!!buf, "unable to malloc buffer: %d", len);
[ 166s] | ~^
[ 166s] | |
[ 166s] | int
[ 166s] | %ld
There are many more which could potentially be an issue.
_______________________________________________
clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml