Your message dated Fri, 23 Aug 2019 05:47:46 +0000
with message-id <[email protected]>
and subject line Bug#923981: fixed in dansguardian 2.10.1.1-5.1+deb9u2
has caused the Debian Bug report #923981,
regarding dansguardian: Add support for clamav 0.101.1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
923981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dansguardian
Version: 2.10.1.1-5.1
Severity: important
Tags: patch
Please add support for clamav 0.101.1. The attached patch adds this and
has been lightly tested.
Sebastian
#! /bin/sh /usr/share/dpatch/dpatch-run
## 90_clamav111_support.dpatch by Sebastian A. Siewior
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adds support for clamav 0.101.1
@DPATCH@
diff --git a/src/contentscanners/clamav.cpp b/src/contentscanners/clamav.cpp
index cb5e5be1b3fc..7af3c9383e60 100644
--- a/src/contentscanners/clamav.cpp
+++ b/src/contentscanners/clamav.cpp
@@ -172,7 +172,13 @@ int clamavinstance::scanMemory(HTTPHeader * requestheader,
HTTPHeader * docheade
}
#ifdef CL_INIT_DEFAULT
- rc = cl_scandesc(fd, &vn, NULL, engine, CL_SCAN_STDOPT);
+ struct cl_scan_options cl_options;
+
+ memset(&cl_options, 0, sizeof(struct cl_scan_options));
+ cl_options.general = CL_SCAN_GENERAL_ALLMATCHES;
+ cl_options.parse = ~0;
+
+ rc = cl_scandesc(fd, NULL, &vn, NULL, engine, &cl_options);
#else
rc = cl_scandesc(fd, &vn, NULL, engine, &limits, CL_SCAN_STDOPT);
#endif
@@ -201,7 +207,13 @@ int clamavinstance::scanFile(HTTPHeader * requestheader,
HTTPHeader * docheader,
lastmessage = lastvirusname = "";
const char *vn = NULL;
#ifdef CL_INIT_DEFAULT
- int rc = cl_scanfile(filename, &vn, NULL, engine, CL_SCAN_STDOPT );
+ struct cl_scan_options cl_options;
+
+ memset(&cl_options, 0, sizeof(struct cl_scan_options));
+ cl_options.general = CL_SCAN_GENERAL_ALLMATCHES;
+ cl_options.parse = ~0;
+
+ int rc = cl_scanfile(filename, &vn, NULL, engine, &cl_options);
#else
int rc = cl_scanfile(filename, &vn, NULL, engine, &limits,
CL_SCAN_STDOPT );
#endif
--
2.20.1
--- End Message ---
--- Begin Message ---
Source: dansguardian
Source-Version: 2.10.1.1-5.1+deb9u2
We believe that the bug you reported is fixed in the latest version of
dansguardian, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Andrzej Siewior <[email protected]> (supplier of updated
dansguardian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 22 Aug 2019 19:19:58 +0200
Source: dansguardian
Architecture: source
Version: 2.10.1.1-5.1+deb9u2
Distribution: stretch
Urgency: medium
Maintainer: Alexander Wirt <[email protected]>
Changed-By: Sebastian Andrzej Siewior <[email protected]>
Closes: 923981
Changes:
dansguardian (2.10.1.1-5.1+deb9u2) stretch; urgency=medium
.
* Non-maintainer upload.
* Add support for clamav 0.101 (Closes: #923981).
Checksums-Sha1:
7b55556854a3c191bcd010169f67a7a40c54eebb 1778
dansguardian_2.10.1.1-5.1+deb9u2.dsc
e1dfbaf9408ac28993e2fb2bed1a8aa0016e70fd 23488
dansguardian_2.10.1.1-5.1+deb9u2.diff.gz
3b2a6a0c9a787d5a8f70fc9d52dda80cfd7e0d2e 5286
dansguardian_2.10.1.1-5.1+deb9u2_source.buildinfo
Checksums-Sha256:
141524565ec63d233e8580ab09e531102f4bbf7643412823b7c264564c6ebcfa 1778
dansguardian_2.10.1.1-5.1+deb9u2.dsc
72f7429e2a098051a678df9da7c507ff44515494b0d5879a7e2960c6557108f6 23488
dansguardian_2.10.1.1-5.1+deb9u2.diff.gz
cc09004e3c1d1e5fa47945b43a2d1635954b72f778b14738a2b45afa8265905e 5286
dansguardian_2.10.1.1-5.1+deb9u2_source.buildinfo
Files:
d2f7dfc4600c44afc27509770664aca0 1778 web optional
dansguardian_2.10.1.1-5.1+deb9u2.dsc
b5f4da5e6259526a515cd47ef3b0c05b 23488 web optional
dansguardian_2.10.1.1-5.1+deb9u2.diff.gz
0ffa21515142fb7a944850dbeee10c8f 5286 web optional
dansguardian_2.10.1.1-5.1+deb9u2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEEV4kucFIzBRM39v3RBWQfF1cS+lsFAl1ez00ACgkQBWQfF1cS
+ls5rgv9Fm1qKj0QxFdBJJq+i2oXXX3fiz7H6k5jio2DGq+ATv050F0EEXOnqHzC
9jHJtpYZ83ndq/NX+V1UjVB3erGdqDbLbR64xGjH1uwKlMw3qB46r1CYrjG1+lAO
MV9dQj0NpejWwDYytgs2FVCzEk3v1qKeRHzB8bj2a1+8V2221B7yYdfxUGZB0c3l
79+ftI+kg0up/shs79iRDkrmOmk9hC5UUAVLHgkIgpjip8Swk3uLVAQmEuZhcRy8
TWRgKgNKegb8BjEL1+kdHsRa44CMiTcwNHHFecIcaqUmt55/Bd+54eOO2lfJN34x
yYF1CW/Q9Km3rhWLM3Fq0IftSab9U2Xg1cFzsrG2QuOaBchnN1qADhndFpdTB0LZ
IUqBba4INoA/Csk2I0E0r+LJgp2T78Ujq9R0RGvCCNU7wy7fUMIvC82zs+eBJsPj
rzVC8GVR646voWZWNlXwCS5yqFGmjj7a9Uz+AklxwP4ik/SydALvxco660RA6TUH
kATQvnIb
=RbGc
-----END PGP SIGNATURE-----
--- End Message ---