[Forensics-changes] [yara] 275/407: Fix regression issue
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.3.0
in repository yara.
commit 6bb131da3048e3ca72a50c06cf73660f52f0ccfd
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date: Mon Dec 29 23:54:11 2014 +0100
Fix regression issue
Bug fixed in 82a4212918bed6f6610122992769cc1d5ed7101f was reintroduced during merge.
---
libyara/modules/pe.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 4b2dae5..37a6ec9 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -565,7 +565,8 @@ void pe_parse_version_info(
string_table,
string_table->Length);
- while (string < string_table)
+ while (struct_fits_in_pe(pe, string, VERSION_INFO) &&
+ string < string_table)
{
char* string_value = (char*) ADD_OFFSET(
string,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list