[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
Tomasz Kojm
tkojm at clamav.net
Sun Apr 4 00:58:54 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit e1f64911f39704cfa381f072e87755ce66e7beb4
Author: Tomasz Kojm <tkojm at clamav.net>
Date: Wed Jul 15 08:49:04 2009 +0200
libclamav/mspack.c: fix valgrind warnings about use of uninitialized values (bb#1655)
diff --git a/ChangeLog b/ChangeLog
index 5b6bcc1..ef7b6a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 15 08:46:35 CEST 2009 (tk)
+----------------------------------
+ * libclamav/mspack.c: fix valgrind warnings about use of uninitialized
+ values (bb#1655)
+
Tue Jul 14 23:41:37 CEST 2009 (acab)
------------------------------------
* libclamav: add preliminary support for IS executables (IS-cab and IS-msi)
diff --git a/libclamav/mspack.c b/libclamav/mspack.c
index f155975..96b4bdc 100644
--- a/libclamav/mspack.c
+++ b/libclamav/mspack.c
@@ -593,7 +593,7 @@ struct mszip_stream *mszip_init(int fd,
if (!input_buffer_size) return NULL;
/* allocate decompression state */
- if (!(zip = cli_malloc(sizeof(struct mszip_stream)))) {
+ if (!(zip = cli_calloc(1, sizeof(struct mszip_stream)))) {
return NULL;
}
@@ -1738,7 +1738,7 @@ struct qtm_stream *qtm_init(int fd, int ofd,
if (input_buffer_size < 2) return NULL;
/* allocate decompression state */
- if (!(qtm = cli_malloc(sizeof(struct qtm_stream)))) {
+ if (!(qtm = cli_calloc(1, sizeof(struct qtm_stream)))) {
return NULL;
}
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list