Browse code

typo in pe.c

git-svn: trunk@2975

aCaB authored on 2007/03/27 12:41:15
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Mar 27 03:49:13 CEST 2007 (acab)
2
+------------------------------------
3
+  * libclamav/pe.c: typo
4
+
1 5
 Tue Mar 27 03:39:37 CEST 2007 (acab)
2 6
 ------------------------------------
3 7
   * libclamav/pe.c: Move assignments out of cli_dbgmsg (bb#426)
... ...
@@ -517,7 +517,7 @@ int cli_scanpe(int desc, cli_ctx *ctx)
517 517
 	}
518 518
 
519 519
 	vep = EC32(optional_hdr64.AddressOfEntryPoint);
520
-	hdr_size = EC32(optional_hdr32.SizeOfHeaders);
520
+	hdr_size = EC32(optional_hdr64.SizeOfHeaders);
521 521
 	cli_dbgmsg("File format: PE32+\n");
522 522
 
523 523
 	cli_dbgmsg("MajorLinkerVersion: %d\n", optional_hdr64.MajorLinkerVersion);