Created attachment 7289 patch for newer zlib
When building ClamAV with zlib 1.2.9+, the following test fails during build:
check_bytecode.c:127:F:arithmetic:test_inflate_jit:0: cli_bytecode_run failed, expected: 0, have: 28
check_bytecode.c:108:E:arithmetic:test_inflate_int:0: (after this point) Received signal 11 (Segmentation fault)
Downstream bug: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1692073
This is caused by the following commit to zlib 1.2.9: https://github.com/madler/zlib/commit/b516b4bdd7c0c9f0858adfebf732089014f7b282
Attached is the patch I used to fix this issue in Ubuntu. Thanks.
Created attachment 7289
patch for newer zlib
When building ClamAV with zlib 1.2.9+, the following test fails during build:
check_bytecode. c:127:F: arithmetic: test_inflate_ jit:0: cli_bytecode_run failed, expected: 0, have: 28
check_bytecode. c:108:E: arithmetic: test_inflate_ int:0: (after this point) Received signal 11 (Segmentation fault)
Downstream bug: /bugs.launchpad .net/ubuntu/ +source/ clamav/ +bug/1692073
https:/
This is caused by the following commit to zlib 1.2.9: /github. com/madler/ zlib/commit/ b516b4bdd7c0c9f 0858adfebf73208 9014f7b282
https:/
Attached is the patch I used to fix this issue in Ubuntu. Thanks.