summaryrefslogtreecommitdiffstats
path: root/src/file_swf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-11-21 10:25:00 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2015-11-21 10:25:00 +0100
commit49ef9c0bf948081a2aa8431cf658d41b840c9dd6 (patch)
tree98d322fdfdf0240b0c2e6c23b3bdffd19e1423b2 /src/file_swf.c
parent8011d8233149fb76834d494ebde502066fdac1c4 (diff)
PhotoRec: fix swc file size detection
Diffstat (limited to 'src/file_swf.c')
-rw-r--r--src/file_swf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_swf.c b/src/file_swf.c
index a64d0ea..d0165eb 100644
--- a/src/file_swf.c
+++ b/src/file_swf.c
@@ -138,7 +138,7 @@ static int header_check_swfc(const unsigned char *buffer, const unsigned int buf
file_recovery_new->extension="swc";
file_recovery_new->calculated_file_size=le32(hdr->size);
file_recovery_new->data_check=&data_check_size;
- file_recovery_new->file_check=&file_check_size;
+ file_recovery_new->file_check=&file_check_size_lax;
return 1;
}