[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/etch-security, updated. 6221e82964683d0a18338a13ae7a18c342e6daeb

Stephen Gran steve at lobefin.net
Tue Nov 11 21:01:35 UTC 2008


The following commit has been merged in the debian/etch-security branch:
commit 6221e82964683d0a18338a13ae7a18c342e6daeb
Author: Stephen Gran <steve at lobefin.net>
Date:   Tue Nov 11 21:01:20 2008 +0000

    Will use dpatch instead.
    Revert "get_unicode_name() off-by-one"
    
    This reverts commit 011dde24fcdf6ff51c8fdbf3a0af1b6103cfd7c4.

diff --git a/libclamav/vba_extract.c b/libclamav/vba_extract.c
index c8e80ce..0bc539c 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+1);
+        newname = (char *) cli_malloc(size*7);
         if (!newname) {
                 return NULL;
         }

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list