[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
aCaB
acab at clamav.net
Sun Apr 4 01:05:46 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 5fde1c1f33499d92461a90c34a0a50eb689497ac
Author: aCaB <acab at clamav.net>
Date: Fri Sep 25 00:36:58 2009 +0200
sis.c: fix size check
diff --git a/ChangeLog b/ChangeLog
index 3ab0bd2..24c760a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 25 00:35:56 CEST 2009 (acab)
+------------------------------------
+ * libclamav/sis.c: size check fix, thanks Tomasz
+
Fri Sep 25 00:31:29 CEST 2009 (acab)
------------------------------------
* fix several problems introduced by the win32 commits
diff --git a/libclamav/sis.c b/libclamav/sis.c
index 8bdf711..99fd705 100644
--- a/libclamav/sis.c
+++ b/libclamav/sis.c
@@ -170,7 +170,7 @@ enum {
#define SKIP(N) \
if (sleft>=(N)) sleft-=(N); \
else { \
- if ((ssize_t)((N)-sleft)<0) { \
+ if ((N) < sleft) { \
cli_dbgmsg("SIS: Refusing to seek back\n"); \
free(alangs); \
return CL_CLEAN; \
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list