summaryrefslogtreecommitdiffstats
path: root/src/file_jpg.c
Commit message (Collapse)AuthorAgeFilesLines
* PhotoRec: fix bound check when parsing exe, fits, jpg, mp3, riff, zipChristophe Grenier2018-02-181-1/+1
|
* src/file_jpg.c: replace unsigned by unsigned intChristophe Grenier2018-02-071-1/+1
|
* PhotoRec: avoid potential endless loopsChristophe Grenier2017-09-121-3/+3
|
* PhotoRec: fix an out of bound memory read in src/file_jpg.cChristophe Grenier2017-06-181-5/+14
| | | | Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
* src/file_jpg.c: move duplicated code to check_mpo()Christophe Grenier2017-04-061-28/+19
|
* Use explicit function adressesChristophe Grenier2017-04-031-10/+10
| | | | See MISRA C:2004, 16.9
* PhotoRec: for some file formats, check if file is complete when a new file ↵Christophe Grenier2016-09-301-12/+12
| | | | is found
* PhotoRec: check doc/OLE files when a new file is foundChristophe Grenier2016-09-301-2/+2
|
* PhotoRec: fix when carving jpg with blocksize forced to 1 byteChristophe Grenier2015-12-221-0/+2
|
* Fallback to fseek() if fseeko() failedChristophe Grenier2015-09-251-6/+0
|
* PhotoRec: reduce the number of backward searchChristophe Grenier2015-09-031-0/+36
|
* PhotoRec: recover progressive jpegChristophe Grenier2015-08-011-2/+20
|
* PhotoRec: Remove min_header_distance from file_hint_t structure (code cleanup)Christophe Grenier2015-06-131-1/+0
|
* PhotoRec: avoid to recover a jpg if it's in the first 8192 bytes of a .rw2 fileChristophe Grenier2015-06-131-0/+5
|
* remove always-true memcmpChristophe Grenier2015-05-111-4/+4
|
* new prototype for jpg_check_sof0()Christophe Grenier2015-04-141-2/+2
|
* add gcc_struct attribute to all __packed__ structureChristophe Grenier2015-04-111-28/+14
| | | | do not use fseeko() with mingw32 gcc compiler
* src/file_jpg.c: Remove redundant DHT checkChristophe Grenier2015-04-051-5/+0
|
* jpg_check_sof0(): fix a warning reported by Coverity.Christophe Grenier2015-03-121-1/+1
| | | | Code introduced in commit 285aa471329d4df7ae3b22cde2cae9ddf0f7e11c
* PhotoRec check SOF0 while recovering jpgChristophe Grenier2015-02-251-6/+47
|
* src/file_jpg.c: avoid some FP permitted by commit ↵Christophe Grenier2014-11-151-0/+15
| | | | 4c5fcd4164b7fd06eafa54fa44ecfb9fb2d02d00
* Turn off various signed/unsigned comparaison warningsChristophe Grenier2014-11-151-2/+2
|
* Add missing ctype.h includeChristophe Grenier2014-11-151-0/+1
|
* PhotoRec: rewrite jpg_check_dht()Christophe Grenier2014-10-281-18/+14
|
* PhotoRec: ignore jpeg header beginning by a DQT if PhotoRec is already ↵Christophe Grenier2014-10-061-2/+2
| | | | | | saving a file See commit 4c5fcd4164b7fd06eafa54fa44ecfb9fb2d02d00
* PhotoRec: remove useless file_recovery NULL checkChristophe Grenier2014-10-051-1/+1
|
* Use fseeko() instead of fseek().Christophe Grenier2014-10-041-0/+20
| | | | Fix 2GB per file limit on Windows for some file types.
* PhotoRec: relax jpg header detectionChristophe Grenier2014-10-021-74/+66
|
* PhotoRec: fix jpg recovery when blocksize is 1 byteChristophe Grenier2014-09-171-7/+12
|
* src/file_jpg.c: fix potential out of bound read accessChristophe Grenier2014-03-161-1/+2
|
* PhotoRec: modify how JPEG Multi-Picture Format are detectedChristophe Grenier2014-03-121-35/+127
|
* src/file_jpg.c: remove logically dead codeChristophe Grenier2014-02-021-15/+0
|
* PhotoRec: check the first jpg in mpo fileChristophe Grenier2014-01-251-3/+14
|
* PhotoRec: use an enum for values returned by data_check()Christophe Grenier2013-12-141-13/+13
| | | | rename .m2ts and .ts using pid from header
* PhotoRec: fix recovery of some mpo filesChristophe Grenier2013-12-141-0/+2
|
* fix minor code defectsChristophe Grenier2013-11-031-4/+11
|
* PhotoRec: better date/time extraction for JPG fileChristophe Grenier2013-08-311-0/+2
|
* PhotoRec: use .jpg file extension instead of .mpoChristophe Grenier2013-07-301-1/+1
|
* constify more variablesChristophe Grenier2013-06-011-5/+3
|
* PhotoRec: disable jpg detection during .albm file recoveryChristophe Grenier2013-03-231-0/+4
|
* PhotoRec: detect .MPO (3D jpeg) filesizeChristophe Grenier2012-12-081-14/+177
|
* PhotoRec: return libjpeg-turbo versionChristophe Grenier2012-11-061-1/+7
|
* PhotoRec: avoid to recover jpg that are parts of mov filesChristophe Grenier2012-05-181-42/+47
|
* Jpg thumbnails (t*.jpg) will also get the date/time from the EXIF informationChristophe Grenier2012-04-211-0/+3
|
* code cleanup: remove unused but set variablesChristophe Grenier2012-04-141-2/+5
|
* PhotoRec: Some JPG have two APP1 markers, avoid to dicard the first one - part 2Christophe Grenier2012-02-111-1/+2
|
* Use "int" instead of "boolean" in src/file_jpg.cChristophe Grenier2011-10-251-8/+2
|
* PhotoRec: check fseek return value in jpg file validationChristophe Grenier2011-10-151-3/+6
|
* PhotoRec: Some JPG have two APP1 markers, avoid to dicard the first oneChristophe Grenier2011-09-171-0/+9
|
* jpg recovery: use jpg size to avoid to recover the thumb instead of the jpg ↵Christophe Grenier2011-06-171-1/+38
| | | | file itself