Browse code

bb#990

git-svn: trunk@3824

aCaB authored on 2008/04/30 02:54:01
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Apr 29 18:53:51 CEST 2008 (acab)
2
+------------------------------------
3
+  * libclamav/unzip.c: check for unprefixed bz2 - bb#990
4
+
1 5
 Tue Apr 29 15:04:11 CEST 2008 (acab)
2 6
 ------------------------------------
3 7
   * doc/man/freshclam.1.in: english typo - thanks Stephen Gran
... ...
@@ -178,9 +178,9 @@ static int unz(uint8_t *src, uint32_t csize, uint32_t usize, uint16_t method, ui
178 178
 
179 179
 #if HAVE_BZLIB_H
180 180
 #ifdef NOBZ2PREFIX
181
-#define BZ2_bzReadOpen bzReadOpen
182
-#define BZ2_bzReadClose bzReadClose
183
-#define BZ2_bzRead bzRead
181
+#define BZ2_bzDecompress bzDecompress
182
+#define BZ2_bzDecompressEnd bzDecompressEnd
183
+#define BZ2_bzDecompressInit bzDecompressInit
184 184
 #endif
185 185
 
186 186
   case ALG_BZIP2: {