Commit graph

2077 commits

Author SHA1 Message Date
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
Christophe Grenier
e04e324a44 Add missing doctype and charset in documentation.html 2017-04-11 09:39:09 +02:00
Christophe Grenier
4cf7b8ea84 Split src/file_tiff.c in low endian and big endian files for easier diff 2017-04-08 13:53:45 +02:00
Christophe Grenier
8c8b25a650 src/fat.c: remove extra defines 2017-04-08 13:52:04 +02:00
Christophe Grenier
b9980e4987 PhotoRec: use get_time_from_xxx() new functions 2017-04-08 11:21:28 +02:00
Christophe Grenier
821d1e698a PhotoRec: fix length for "status=ext2_on_save_everything" and "status=ext2_off_save_everything" 2017-04-07 07:26:07 +02:00
Christophe Grenier
68c3977f82 adv_get_options_for_partition(): style 2017-04-07 07:25:36 +02:00
Christophe Grenier
27e1efc67c src/file_jpg.c: move duplicated code to check_mpo() 2017-04-06 21:06:48 +02:00
Christophe Grenier
fe83f37977 Various minor code cleanup 2017-04-06 21:04:47 +02:00
Christophe Grenier
3fa9ab46ad src/dirpart.c: split interface_adv() into several functions 2017-04-06 20:55:52 +02:00
Christophe Grenier
27f450ea59 src/file_ace.c: move crc check to a new function for better code readability 2017-04-05 15:39:12 +02:00
Christophe Grenier
462f8dbbe1 Travis: List dev branch for sonarqube 2017-04-05 14:36:24 +02:00
Christophe Grenier
999300d070 Add libewf-dev to package lists in.travis.yml and enable qphotorec compilation 2017-04-05 08:11:03 +02:00
Christophe Grenier
a2736fe5eb Use explicit function adresses
See MISRA C:2004, 16.9
2017-04-03 18:08:49 +02:00
Christophe Grenier
3a0f3c7fbf Update package lists in .travis.yml for Ubuntu trusty 2017-04-03 09:57:31 +02:00
Christophe Grenier
d3dc03e223 Update travis CI configuration to launch SonarQube 2017-04-03 07:20:05 +02:00
Christophe Grenier
7a653c0e01 Update INSTALL instructions to provide information on required librairies and how to generate the configure script 2017-04-03 06:51:59 +02:00
Christophe Grenier
0defdff957 PhotoRec: recover Fotobook .mcf files 2017-03-23 13:39:24 +01:00
Christophe Grenier
115360f5e1 Raise the limit in FAT file listing from 30 clusters to 65536 directory entries 2017-03-23 13:37:43 +01:00