Commit graph

1884 commits

Author SHA1 Message Date
Christophe Grenier
6e482795af Fix buffer overflow in check_HPFS() 2015-04-11 13:55:39 +02:00
Christophe Grenier
b83edfd7b5 Fix Testdisk check_OS2MB Stack Buffer overflow found by Denis Andzakovic <denis.andzakovic@security-assessment.com> 2015-04-11 13:51:05 +02:00
Christophe Grenier
847c748f93 Update generic INSTALL instruction 2015-04-11 13:47:52 +02:00
Christophe Grenier
0bd7038e19 Enable gcc stack protection by default 2015-04-11 13:47:31 +02:00
Christophe Grenier
c590b099e1 configure.ac: use g++ when checking additional CXXFLAGS 2015-04-11 13:46:21 +02:00
Christophe Grenier
1f42c92ca5 Check that disk sector_size is 512 bytes at least 2015-04-09 12:48:38 +02:00
Christophe Grenier
52190cd076 rebuild_NTFS_BS: add a safety check for mft_record_size 2015-04-09 12:47:46 +02:00
Christophe Grenier
c19f6a3a12 src/fat_unformat.c: use buffer_start instead of buffer variable (style) 2015-04-09 12:46:22 +02:00
Christophe Grenier
b798f3ca98 fat32_set_part_name(): define a const variable to hold the cluster size (style) 2015-04-09 12:42:21 +02:00
Christophe Grenier
07b95092e2 get_next_cluster(): move memory allocation (style) 2015-04-09 12:41:30 +02:00
Christophe Grenier
2fb6f48cc6 disk_image(): add assertion 2015-04-09 12:40:34 +02:00
Christophe Grenier
3ec09dcdb6 PhotoRec: recover Mac OS .plist as .plist and not .abcdp 2015-04-05 12:29:38 +02:00
Christophe Grenier
9095a5da70 PhotoRec: recover xfs structure. Should help to recover files from XFS filesystem. 2015-04-05 12:15:51 +02:00
Christophe Grenier
12ee6348d5 PhotoRec: recover RT60 .idx files 2015-04-05 12:12:18 +02:00
Christophe Grenier
79a9c21acd PhotoRec:recover Ciel.sgtca files 2015-04-05 12:08:23 +02:00
Christophe Grenier
9ee3ed591c PhotoRec: recover .gsm files (prone to false positive) 2015-04-05 12:04:06 +02:00
Christophe Grenier
a07f9b6fc8 PhotoRec: do not always try to complete the recovery of the previous file when a file is recovered 2015-04-05 11:55:23 +02:00
Christophe Grenier
5f6fd9e8b3 new prototype for menu_choose_blocksize() 2015-04-05 11:45:08 +02:00
Christophe Grenier
fd058d596d src/file_jpg.c: Remove redundant DHT check 2015-04-05 11:31:26 +02:00
Christophe Grenier
2848eb3c13 interface_editor_location(): move variable definition (code style) 2015-04-05 11:29:12 +02:00
Christophe Grenier
79812fda52 Distinguish between file listing not implemented and missing library 2015-04-05 11:17:08 +02:00
Andrei GUDIU
bc39fa01d4 When asked for a pattern, raise the limit from 40 to 120 chars. 2015-03-12 08:31:34 +01:00
Christophe Grenier
b7eba19a90 File listing: use '/', 'n' and 'N' to search for a user specified name 2015-03-12 08:29:11 +01:00
Andrei GUDIU
ca0f285273 File listing: use 'F' key to mark all files matching a user-specified filter.
This way it's easier to copy them.
2015-03-12 08:26:58 +01:00
Christophe Grenier
66acdf8ff0 file_block_truncate_and_move(): check fseek() return value (code cosmetic) 2015-03-12 08:19:42 +01:00
Christophe Grenier
2cd56e4695 file_test_availability: discard the buffer content if less than 512 bytes has been read 2015-03-12 08:18:38 +01:00
Christophe Grenier
bccd883037 jpg_check_sof0(): fix a warning reported by Coverity.
Code introduced in commit 285aa47132
2015-03-12 08:16:40 +01:00
Christophe Grenier
61c21b405a ext2/3/4 file listing: discard entries without inode information 2015-03-12 08:15:47 +01:00
Christophe Grenier
eb3ea9a804 NTFS listing: return the error message when ntfs_readdir() failed. 2015-03-08 10:57:29 +01:00
Christophe Grenier
f71504c2fd Fix check in file_win32_disk_get_model() and add more checks.
Thanks to "dmex" for reporting the incorrect check.
2015-03-08 10:47:50 +01:00
Christophe Grenier
720f62546b Avoid potential out of bound read access in screen_buffer_add() 2015-03-08 10:47:24 +01:00
Christophe Grenier
2c7f656272 PhotoRec: recover FrontPage Pro 12 files as .f12 instead of .fp7 2015-02-25 08:41:16 +01:00
Christophe Grenier
ca2efe739e Workaround gcc bug 52991 2015-02-25 08:36:19 +01:00
Christophe Grenier
7ca2fc46ca PhotoRec: avoid a potential out of bound read memory access while checking TIFF 2015-02-25 08:34:52 +01:00
Christophe Grenier
285aa47132 PhotoRec check SOF0 while recovering jpg 2015-02-25 08:34:24 +01:00
Christophe Grenier
499dcbd257 PhotoRec FAT unformat: report read errors if any 2015-02-25 08:33:18 +01:00
Christophe Grenier
b06692ccf8 FAT: allow listing of deleted directory 2014-12-06 13:51:44 +01:00
Christophe Grenier
117c387da8 PhotoRec: recover ZeroCad .z2d 2014-11-15 12:48:53 +01:00
Christophe Grenier
34f51c2c65 Stricter check for .E01 when used as disk image 2014-11-15 12:45:31 +01:00
Christophe Grenier
7ce8355907 src/file_jpg.c: avoid some FP permitted by commit 4c5fcd4164 2014-11-15 12:43:37 +01:00
Christophe Grenier
7b903d1362 interface_options_photorec_log() was never called 2014-11-15 12:42:09 +01:00
Christophe Grenier
6d0094bf72 src/intrfn.c: don't forget null byte when using strncat 2014-11-15 12:39:36 +01:00
Christophe Grenier
92cc46437a file_tiff.c: constify some variables and turn off some sign compare warnings 2014-11-15 12:38:21 +01:00
Christophe Grenier
45c6d1d25d file_fh5.c: turn off a sign/unsigned warning 2014-11-15 12:31:25 +01:00
Christophe Grenier
601a939c9c file_exe.c, parthumax.c: remove dead code 2014-11-15 12:30:27 +01:00
Christophe Grenier
5ed8822f2b Turn off various signed/unsigned comparaison warnings 2014-11-15 12:29:48 +01:00
Christophe Grenier
17040353bc header_check_ape: remove dead code 2014-11-15 12:20:18 +01:00
Christophe Grenier
134ce684e2 file_check_ace(): avoid a gcc warning 2014-11-15 12:19:03 +01:00
Christophe Grenier
42428f901c Swap gcc warning by another in exfat_ucstoutf8() 2014-11-15 12:09:08 +01:00
Christophe Grenier
4c29e6b6fe Modify set_part_name() and set_part_name_chomp() prototype 2014-11-15 12:05:09 +01:00