Browse code

Fix bug introduced in clamav-0.96-51-g3e3b587.

Török Edvin authored on 2010/05/19 02:20:46
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue May 18 20:20:15 EEST 2010 (edwin)
2
+-------------------------------------
3
+ * libclamav/fmap.c: fix bug introduced in clamav-0.96-51-g3e3b587.
4
+
1 5
 Mon May 17 19:03:51 CEST 2010 (acab)
2 6
 ------------------------------------
3 7
  * libclamav/pe.c: properly resume stringtable loop (bb#2027)
... ...
@@ -297,6 +297,7 @@ static int fmap_readpage(fmap_t *m, unsigned int first_page, unsigned int count,
297 297
 	    }
298 298
 
299 299
 	    pptr = NULL;
300
+	    force_read = 0;
300 301
 	    readsz = 0;
301 302
 	    continue;
302 303
 	}