Commit graph

2319 commits

Author SHA1 Message Date
Christophe Grenier
f3bdb0f39c PhotoRec: recover Blue Iris .dvr files 2018-03-15 10:09:43 +01:00
Christophe Grenier
aee0c5d0e3 Avoid variable-length array (vla) 2018-03-15 10:08:04 +01:00
Christophe Grenier
8fd2739598 PhotoRec: fix potential endless loop/crash when parsing abr files,
use uint64_t when parsing exe, gpg, hdf, indd files
fix calculate_packet_size() prototype
2018-02-26 10:08:48 +01:00
Christophe Grenier
d13e22df20 PhotoRec: use memcmp() instead of strcmp() when parsing exe and tiff files 2018-02-18 10:46:53 +01:00
Christophe Grenier
fe2059efa9 PhotoRec: fix bound check when parsing exe, fits, jpg, mp3, riff, zip 2018-02-18 09:58:02 +01:00
Christophe Grenier
e0d2dc2f39 PhotoRec: fix STL Binary format filesize detection 2018-02-18 09:46:25 +01:00
Christophe Grenier
e91d143583 PhotoRec: remove an useless check in header_check_fcs() and fix the OOB read check 2018-02-18 09:44:33 +01:00
Christophe Grenier
de55395de3 PhotoRec: Limit recursion when parsing TIFF images files 2018-02-15 16:48:58 +01:00
Christophe Grenier
416ec9551a PhotoRec: avoid endless loop when parsing corrupted zip files. Bug detected via afl-fuzz 2018-02-15 13:47:41 +01:00
Christophe Grenier
9a0548a2fa PhotoRec: recover WebP images with the extension .webp instead of .avi 2018-02-15 13:46:46 +01:00
Christophe Grenier
87a927de77 PhotoRec: lnk files - move filesize determination in lnk_get_size() 2018-02-15 13:45:33 +01:00
Christophe Grenier
5613d7c187 fidentify: modfied for afl-clang-fast 2018-02-08 18:16:47 +01:00
Christophe Grenier
a26209aea4 fidentify: only search for enabled file families if specified 2018-02-08 15:39:50 +01:00
Christophe Grenier
345d8ab23a PhotoRec: set minimal size for .xz files 2018-02-07 18:58:45 +01:00
Christophe Grenier
46c3648a5a PhotoRec: recover utf-16 xml files 2018-02-07 18:57:15 +01:00
Christophe Grenier
6f145cc96b PhotoRec: improve Thunderbird mailbox recovery 2018-02-07 18:53:43 +01:00
Christophe Grenier
1de381c175 PhotoRec: better .gpx end detection 2018-02-07 18:51:39 +01:00
Christophe Grenier
0112758319 TestDisk: flush log before asking for partitions to keep 2018-02-07 18:49:25 +01:00
Christophe Grenier
d8f272a71c PhotoRec: recover Android .apk files 2018-02-07 18:49:06 +01:00
Christophe Grenier
9e2f1a6801 src/file_jpg.c: replace unsigned by unsigned int 2018-02-07 18:46:11 +01:00
Christophe Grenier
6282a476ef src/file_doc.c: add assert() 2018-02-07 18:45:33 +01:00
Christophe Grenier
3f0fe819b9 PhotoRec: avoid out of bound read (again) for .lnk files 2018-02-07 18:19:20 +01:00
Christophe Grenier
f2cbb4f7be PhotoRec: recover Mensura .msa files (not enabled by default) 2018-02-07 18:16:58 +01:00
Christophe Grenier
fe85fa7807 PhotoRec: ignore indd header/magic value if already recovering an indd file 2018-02-07 18:15:21 +01:00
Christophe Grenier
78380d72f7 Avoid a NULL dereference when listing an NTFS partition after RebuildBS 2018-02-07 18:12:38 +01:00
Christophe Grenier
e1d86c408e PhotoRec: rename photorec.ses to photorec.se2 if session is not resumed 2017-12-24 15:35:24 +01:00
Christophe Grenier
c8dc1b0869 PhotoRec: remove useless variable file_recovery in fat_unformat_aux() 2017-12-24 15:28:45 +01:00
Christophe Grenier
291fec3147 Add Windows Recovery, Linux /home, /src and data EFI uuid partition type 2017-12-24 15:24:36 +01:00
Christophe Grenier
b3637b25c9 Replace http://www.cgsecurity.org by https 2017-12-02 18:45:34 +01:00
Christophe Grenier
a90561d374 PhotoRec: Make "Continue previous session" give output after receiving Y
Close https://github.com/cgsecurity/testdisk/issues/35
2017-11-25 14:31:54 +01:00
Christophe Grenier
1b78f38745 PhotoRec: Fix for request #36: when the list of recovered files gets to 11 lines, the 11th ("others") makes disappear the "STOP" label. 2017-10-14 09:56:35 +02:00
Christophe Grenier
07237aae0e fidentify: if checks are enabled, run them before displaying the file type. 2017-09-28 21:24:48 +02:00
Christophe Grenier
ead22c45f1 PhotoRec: according to TIFF specification, directory entries must be sorted. 2017-09-28 21:23:38 +02:00
Christophe Grenier
d013906b65 PhotoRec: distinguish Apple .heic from .mov 2017-09-21 18:11:16 +02:00
Christophe Grenier
2cc3a1fd2b PhotoRec: force to uint64_t some calculated_file_size 2017-09-21 18:10:27 +02:00
Christophe Grenier
b75c2fca2a PhotoRec: avoid potential endless loops 2017-09-12 13:16:15 +02:00
Christophe Grenier
65543b032a Add note about sr2 and arw TIFF files 2017-09-11 21:01:37 +02:00
Christophe Grenier
4599107417 add assert() in file_rsearch() 2017-09-11 21:01:18 +02:00
Christophe Grenier
29ce5d3ade PhotoRec: distinguish Apple Numbers .iwa from .zip 2017-09-11 20:56:02 +02:00
Christophe Grenier
a7e39ee6e1 Handle VirtIO block /dev/vd[a-z] devices 2017-09-11 20:55:16 +02:00
Christophe Grenier
dc2016d7e9 PhotoRec: recover pgp public and private key, GPS eXchange Format .gpx, Veeam Backup .vbm 2017-09-11 20:51:28 +02:00
Christophe Grenier
f67995b685 PhotoRec: recover Flexible & Interoperable Data Transfer / Garmin track .fit files 2017-08-30 18:03:03 +02:00
Christophe Grenier
3b482239db PhotoRec: fix file_rsearch() function to avoid a false positive.
Thanks to Adel KHALDI from Blue Frost Security GmbH for asking how this function was working.
2017-07-14 16:33:39 +02:00
Christophe Grenier
0f97d72be8 TestDisk: stricter check on NTFS MFT record size to avoid out of bound read
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-07-05 13:27:24 +02:00
Christophe Grenier
622d1eb668 PhotoRec: recover Skyrim Savegame .ess files 2017-07-05 09:40:36 +02:00
Christophe Grenier
654bc330a0 Add is_part_known_humax() to avoid NULL dereference.
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-07-05 09:38:20 +02:00
Christophe Grenier
487579f04c PhotoRec: recover afdesign files 2017-07-05 09:37:42 +02:00
Christophe Grenier
193dea80a2 Avoid a division by zero in update_location()
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-06-30 06:53:18 +02:00
Christophe Grenier
2912e6cb70 Avoid division by zero in autoset_geometry().
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-06-24 08:39:47 +02:00
Christophe Grenier
6ac98cc960 PhotoRec: fix an out of bound memory read in src/file_jpg.c
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-06-18 15:19:50 +02:00