Debian Patches

Status for clamav/1.3.1+dfsg-5

Patch Description Author Forwarded Bugs Origin Last update
Change-paths-in-sample-conf-file-to-match-Debian.patch Change paths in sample conf file to match Debian Scott Kitterman <scott@kitterman.com> no 2014-03-10
Add-a-version-script-for-libclamav-and-libfreshclam.patch Add a dependency for the version map.
Add a dependcy on that version map so that it is re-run once it
changes.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2023-01-02
libclamav_rust-libloading-Remove-the-winwdows-bits.patch libclamav_rust/libloading: Remove the winwdows bits
The windows bits were removed while the dfsg archive was prepared.
Remove now Windows bits from toml & update checksums or else cargo will
complain about missing winapi.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2023-11-02
cli_check_mydoom_log-Avoid-unaligned-access.patch cli_check_mydoom_log: Avoid unaligned access.
fmap_need_off_once() may return an unaligned pointer. This in return
leads to an unaligned access during the load of the uint32_t variables
loading to failures on architectures not supporting unaligned access.

This was reported to the Debian BTS as #1073128.

[bigeasy: Commit message, reworked the patch a bit].
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> no 2024-06-26
Fix-unit-test-caused-by-expiring-signing-certificate.patch Fix unit test caused by expiring signing certificate
The clamscan test "assorted_test.py::TC::test_pe_cert_trust" is about to
fail because the "test.exe" test file was signed with a cert set to
expire after only 2 years, and it has been 23 months.

While attempting to generate a new one that will last 73000 days (200
years), I discovered that any signing certificate set to expire after
2038 will fail the trust-check because the `ca.not_after` variable is
maxed out `time_t` incapable of expressing a higher number.
To fix this, I've upgraded the variables to `uint64_t`.

I also had to replace a bunch of generated signatures to match the new
"test.exe".

Finally, I noticed that "ca.not_before" was being set to the token[8]
instead of token[9], which presumably mean the "NotBefore" field for
Trusted and Revoked Certificates was non-functional, as it was treating
the "CertSign" boolean as the "NotBefore" value.
Micah Snyder <micasnyd@cisco.com> no 2024-07-10

All known versions for source package 'clamav'

Links