Browse code

fix metadata scan (bb#268)

git-svn: trunk@2676

Tomasz Kojm authored on 2007/02/08 02:03:37
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Feb  7 18:02:02 CET 2007 (tk)
2
+---------------------------------
3
+  * libclamav/scanners.c: fix metadata scan (bb#268), patch from Andy Fiddaman
4
+
1 5
 Wed Feb  7 17:20:12 CET 2007 (tk)
2 6
 ---------------------------------
3 7
   * libclamav: apply entconv patch from Edwin:
... ...
@@ -288,7 +288,7 @@ static int cli_scanrar(int desc, cli_ctx *ctx, off_t sfx_offset, uint32_t *sfx_c
288 288
 	}
289 289
 
290 290
 	if(ret == CL_SUCCESS)
291
-	    ret = cli_unrar_scanmetadata(desc,rar_state.metadata, ctx, rar_state.file_count, sfx_check);
291
+	    ret = cli_unrar_scanmetadata(desc,rar_state.metadata_tail, ctx, rar_state.file_count, sfx_check);
292 292
 
293 293
     } while(ret == CL_SUCCESS);
294 294