Commit graph

2195 commits

Author SHA1 Message Date
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
Christophe Grenier
607c909d79 PhotoRec: another fix for Windows 9 x.reg bound checking
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-06-18 12:16:08 +02:00
Christophe Grenier
c16a893f92 src/file_fcs.c: fix potential oob read.
Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
2017-06-16 13:53:05 +02:00
Christophe Grenier
0db61bd22d QPhotoRec: add serial number if available to disk description 2017-05-19 14:14:48 +02:00
Christophe Grenier
109735551a PhotoRec: avoid splitting Mind Your Own Business .myo files 2017-05-19 14:13:52 +02:00
Christophe Grenier
c849ac047d Add .travis.yml in Makefile.am
Small code style modification
2017-05-19 14:13:24 +02:00
Christophe Grenier
0975413298 MinGW: use localtime() instead of localtime_r()
Fix for a1419a0806
2017-04-18 13:48:18 +02:00
Christophe Grenier
a1419a0806 Use localtime_t() instead of localtime() 2017-04-15 12:00:24 +02:00
Christophe Grenier
1cba494e47 Use explicit function adresses for sighup_hdlr() 2017-04-15 09:46:29 +02:00
Christophe Grenier
280d6efd2e Fix uninitialized variable bug introduced in 34b3751696 2017-04-14 19:28:55 +02:00
Christophe Grenier
6d20b64ac4 Replace some fake "while" by "if" in src/file_psb.c and src/file_psd.c
Remove useless variable assignation in src/file_txt.c
2017-04-14 19:12:11 +02:00
Christophe Grenier
4e9dbc1c02 Remove useless check in src/ntfs_dir.c and src/ntfs_udl.c 2017-04-14 18:43:06 +02:00
Christophe Grenier
34560b8563 src/tntfs.c: handle missing ncurses library 2017-04-14 18:36:00 +02:00
Christophe Grenier
f2f2d6b71a Remove interface from rebuild_FAT_BS() 2017-04-14 18:28:30 +02:00
Christophe Grenier
f7a840127c Rewrote HFS_HFSP_boot_sector() 2017-04-14 18:19:19 +02:00
Christophe Grenier
34b3751696 Remove verbose parameter from exFAT_boot_sector() 2017-04-14 18:10:16 +02:00
Christophe Grenier
5f1b4d3fa1 Remove interface parameter from rebuild_NTFS_BS() 2017-04-14 18:07:11 +02:00
Christophe Grenier
48c6c513af Remove interface from search_superblock() prototype 2017-04-14 17:43:02 +02:00
Christophe Grenier
86f6f60752 Scan loop devices.
Original idea from Flos Lonicerae <lonicerae@gmail.com>
2017-04-13 10:57:40 +02:00
Christophe Grenier
087f4ba7df Fix commit 07e2aeddd5, wrong file was pushed 2017-04-11 10:21:50 +02:00
Christophe Grenier
70e2c40581 src/phcli.c: avoid zero length string comparaison in file_select_cli() 2017-04-11 10:04:11 +02:00
Christophe Grenier
583077ba92 src/file_tiff.c: rewrite file_check_tiff() 2017-04-11 10:03:10 +02:00
Christophe Grenier
07e2aeddd5 src/fat*: minor code style update 2017-04-11 10:00:10 +02:00
Christophe Grenier
9643025d8a src/common.h: initialize only the first enumeration defininition 2017-04-11 09:42:03 +02:00
Christophe Grenier
2ece6c0179 src/adv.c: collapse some "if" statements 2017-04-11 09:41:24 +02:00