summaryrefslogtreecommitdiffstats
path: root/src/file_exe.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-06-23 18:57:30 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-06-23 18:57:30 +0200
commit813f8cc70a01b7275f1e38829f11f5cca372c902 (patch)
tree99523be377279882954533e6e06d8d3f3380f1ee /src/file_exe.c
parentc62ef5bb5b0a3659dd2805cfdc3ecda1cb3d774f (diff)
PhotoRec: add file format name near the extension
Diffstat (limited to 'src/file_exe.c')
-rw-r--r--src/file_exe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_exe.c b/src/file_exe.c
index ef0da40..8035865 100644
--- a/src/file_exe.c
+++ b/src/file_exe.c
@@ -77,6 +77,7 @@ static int header_check_exe(const unsigned char *buffer, const unsigned int buff
}
if(le16(pe_hdr->Characteristics) & 0x2000)
{
+ /* Dynamic Link Library */
reset_file_recovery(file_recovery_new);
file_recovery_new->extension="dll";
}