summaryrefslogtreecommitdiffstats
path: root/src/file_exe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_exe.c')
-rw-r--r--src/file_exe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_exe.c b/src/file_exe.c
index 819cc69..e8f0332 100644
--- a/src/file_exe.c
+++ b/src/file_exe.c
@@ -503,7 +503,7 @@ static void file_rename_pe_exe(file_recovery_t *file_recovery)
{
if(le32(pe_section->SizeOfRawData)>0)
{
- if(strcmp((const char*)pe_section->Name, ".rsrc")==0)
+ if(memcmp((const char*)pe_section->Name, ".rsrc", 6)==0)
{
file_exe_ressource(file,
le32(pe_section->PointerToRawData),