[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/etch-security, updated. 011dde24fcdf6ff51c8fdbf3a0af1b6103cfd7c4
aCaB
acab at digitalfuture.it
Tue Nov 11 20:46:09 UTC 2008
The following commit has been merged in the debian/etch-security branch:
commit 011dde24fcdf6ff51c8fdbf3a0af1b6103cfd7c4
Author: aCaB <acab at digitalfuture.it>
Date: Tue Nov 11 21:45:42 2008 +0100
get_unicode_name() off-by-one
backported from 0.94.1
diff --git a/libclamav/vba_extract.c b/libclamav/vba_extract.c
index 0bc539c..c8e80ce 100644
--- a/libclamav/vba_extract.c
+++ b/libclamav/vba_extract.c
@@ -110,7 +110,7 @@ static char *get_unicode_name(char *name, int size, int is_mac)
return NULL;
}
- newname = (char *) cli_malloc(size*7);
+ newname = (char *) cli_malloc(size*7+1);
if (!newname) {
return NULL;
}
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list