Commit graph

2149 commits

Author SHA1 Message Date
Christophe Grenier
7f0de63ce2 Describe Apple partition map as legacy 2018-06-22 19:12:28 +02:00
Christophe Grenier
2d36e835ba List NTFS system files when expert mode is enabled. 2018-06-22 19:05:04 +02:00
Christophe Grenier
45259e8a16 Merge branch 'alexbrownbear-master' 2018-04-30 14:07:38 +02:00
Christophe Grenier
24a279a03c PhotoRec: cosmetic changes in src/file_rar.c 2018-04-30 14:03:17 +02:00
Christophe Grenier
4408ca9535 Merge branch 'master' of https://github.com/alexbrownbear/testdisk into alexbrownbear-master 2018-04-30 13:56:18 +02:00
Christophe Grenier
3348b9932a PhotoRec: Change recovered filename to handle more than 2^32 sectors.
See https://github.com/cgsecurity/testdisk/issues/47
2018-04-29 19:03:30 +02:00
alexbrownbear
1b66f665b2 Fix identical rar signatures bug 2018-04-14 19:58:21 +03:00
alexbrownbear
5b31ef4e1c Improving code readability 2018-04-14 14:54:25 +03:00
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
alexbrownbear
7982d05a42 Add RAR 5 signature 2018-04-07 10:44:23 +03: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