From 2c1ece813538515d78dd389d2ba861983cb173a4 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Wed, 22 Jun 2016 20:25:15 +0200 Subject: [PATCH] PhotoRec: fix missing break in src/file_mxf.c that may result in incorrect filesize --- src/file_mxf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file_mxf.c b/src/file_mxf.c index a2061149..07c7364f 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;