Commit graph

2140 commits

Author SHA1 Message Date
Christophe Grenier
2656670253 PhotoRec: Using bgz extension instead of gz for bgziped files 2018-04-11 14:48:44 +02:00
Christophe Grenier
cdde95797e PhotoRec: try to handle Blocked GNU Zip Format (BGZF) data 2018-04-10 16:37:01 +02:00
Christophe Grenier
9eb2aa12ce tiff_type2size(): use "#if 0" instead of comment around dead code 2018-03-22 13:22:47 +01:00
Christophe Grenier
3240a7318b src/ntfs_udl.c: make some variables more locals 2018-03-22 13:21:47 +01:00
Christophe Grenier
42c8350cdd src/file_gz.c: minor style modification 2018-03-22 13:20:30 +01:00
Christophe Grenier
8c8c6b8d5b fat32_find_root_cluster: replace a do/while by a for loop 2018-03-22 13:18:23 +01:00
Christophe Grenier
feecb1253f TestDisk: consider as a potential FAT32 root directory directories with date after 2000 2018-03-22 13:13:53 +01:00
Christophe Grenier
4763e1e5b1 PhotoRec: recover Celtx, Screenwriting & Media Pre-production, and Adobe xd files 2018-03-22 10:04:15 +01:00
Christophe Grenier
c095665d1c Avoid a cppcheck false positiv in interface_file_select_ncurses() 2018-03-17 17:49:20 +01:00
Christophe Grenier
e5a5e71d7c Remove useless initialisation of update_blocksize variable in update_blocksize() 2018-03-17 17:48:13 +01:00
Christophe Grenier
ff49c01d42 src/ntfs_udl.c: Check open() return value against -1 instead of >= 0 2018-03-17 17:47:17 +01:00
Christophe Grenier
4f605c32e6 Avoid a null pointer dereference in ntfs_dump() 2018-03-17 17:46:47 +01:00
Christophe Grenier
d9e72dedd3 Avoid a warning about file handle leak in log_open_default() 2018-03-17 17:42:05 +01:00
Christophe Grenier
ba8bf1b26a Remove always-true check in search_part() 2018-03-17 17:41:36 +01:00
Christophe Grenier
d6d5654de5 Fix memory leak if getwd(".") failed 2018-03-17 17:40:01 +01:00
Christophe Grenier
20f1c4c1a8 TestDisk: redraw interface if the screen has ben resized 2018-03-17 17:36:08 +01:00
Christophe Grenier
09ecae700f Use new functions check_command(), skip_comma_in_command() and get_int_from_command() to parse command line arguments 2018-03-17 17:29:28 +01:00
Christophe Grenier
331f0ef77e Restore line deleted by mistake in configure.ac by commit aee0c5d0e3 2018-03-17 13:33:04 +01:00
Christophe Grenier
37b48a9fd6 QPhotoRec: update the algo to match the one from PhotoRec 2018-03-17 10:25:05 +01:00
Christophe Grenier
c0e81e1f92 PhotoRec: shorten by 1 byte the ptf file signature to avoid a false negative 2018-03-15 10:10:48 +01:00
Christophe Grenier
f29f7ab54c Fix various warnings 2018-03-15 10:10:22 +01:00
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