summaryrefslogtreecommitdiffstats
path: root/src/file_mxf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-06-22 20:25:15 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-06-22 20:25:15 +0200
commit2c1ece813538515d78dd389d2ba861983cb173a4 (patch)
tree2d1c41ffe770244d24ba1612217455a46d112dee /src/file_mxf.c
parentb67219e75cb978f4f0faa7b0395be5e77b3132cd (diff)
PhotoRec: fix missing break in src/file_mxf.c that may result in incorrect filesize
Diffstat (limited to 'src/file_mxf.c')
-rw-r--r--src/file_mxf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_mxf.c b/src/file_mxf.c
index a206114..07c7364 100644
--- a/src/file_mxf.c
+++ b/src/file_mxf.c
@@ -85,6 +85,7 @@ static data_check_t data_check_mxf(const unsigned char *buffer, const unsigned i
break;
case 0x82:
file_recovery->calculated_file_size+=0x14+(buffer[i+0x11]<<8)+buffer[i+0x12];
+ break;
case 0x83:
file_recovery->calculated_file_size+=0x14+(buffer[i+0x11]<<16)+(buffer[i+0x12]<<8)+buffer[i+0x13];
break;