summaryrefslogtreecommitdiffstats
path: root/src/file_txt.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-11-06 09:44:59 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-11-06 09:44:59 +0100
commit7d15a16cb83c2719f136785898ed3c6dd415f824 (patch)
tree865ff51454d03556adbb615e4926eea76a51597c /src/file_txt.c
parent5dfd33c90ce637db67a707640246269d8893c24e (diff)
PhotoRec: add another exception for text that can be present in jpg
Diffstat (limited to 'src/file_txt.c')
-rw-r--r--src/file_txt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_txt.c b/src/file_txt.c
index 370deed..ad72dc5 100644
--- a/src/file_txt.c
+++ b/src/file_txt.c
@@ -1067,7 +1067,8 @@ Doc: \r (0xD)
td_memmem(buffer, buffer_size_test, "<rdf:", 5)==NULL &&
td_memmem(buffer, buffer_size_test, "<?xpacket", 9)==NULL &&
td_memmem(buffer, buffer_size_test, "<dict>", 6)==NULL &&
- td_memmem(buffer, buffer_size_test, "xmp:CreatorTool>", 16)==NULL) ||
+ td_memmem(buffer, buffer_size_test, "xmp:CreatorTool>", 16)==NULL &&
+ td_memmem(buffer, buffer_size_test, "[camera info]", 13)==NULL) ||
/* Text should not be found in zip because of compression except .sh3d */
(file_recovery->file_stat->file_hint==&file_hint_zip &&
td_memmem(buffer, buffer_size_test, zip_header, 4)==NULL &&