Browse code

possible uninit in explode.c

git-svn: trunk@3677

aCaB authored on 2008/02/27 02:52:01
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Feb 26 17:51:50 CET 2008 (acab)
2
+-----------------------------------
3
+  * libclamav/explode.c: fix possible uninit variable - thx TK
4
+
1 5
 Tue Feb 26 14:08:13 CET 2008 (tk)
2 6
 ---------------------------------
3 7
   * libclamav/filetypes_int.h: add a generic sig to detect emails without
... ...
@@ -225,7 +225,7 @@ int explode_init(struct xplstate *X, uint16_t flags) {
225 225
 
226 226
 int explode(struct xplstate *X) {
227 227
   unsigned int val, need;
228
-  int temp;
228
+  int temp=-1;
229 229
   
230 230
   switch(X->state) {
231 231
     /* grab compressed coded literals, if present */