On Tue, 27 Apr 2010, Miriam Ruiz wrote:

Photorec 6.11-1 segfaults when extracting the files from a HFS+ device:
...
(gdb) frame 1
#1  0x000000000043367b in header_check_tiff (buffer=0x7ffff7e30000 "II*",
   buffer_size=65536, safe_header_only=0, file_recovery=0x7fffffffddf0,
   file_recovery_new=0x7fffffffd560) at file_tiff.c:215
215             if(strcmp(tag_make, "PENTAX Corporation ")==0 ||
(gdb)  list
210         {
211           const char *tag_make;
212           tag_make=find_tag_from_tiff_header((const TIFFHeader
*)buffer, buffer_size, TIFFTAG_MAKE);
213           if(tag_make!=NULL)
214           {
...

This bug has been fixed upstream by the following patch:
http://www.cgsecurity.org/photorec_611_exif_bound_checking_v2.patch
It need to be applied to the Debian package.

        Christophe
--
   ,-~~-.___.     ._.
  / |  '     \    | |--------.   Christophe GRENIER
 (  )         0   | |        | [email protected]
  \_/-, ,----'    | |        |
     ====         !_!-v---v--.
     /  \-'~;      .--------.   TestDisk & PhotoRec
    /  __/~| ._-""||        |   Data Recovery
  =(  _____|_|____||________|   http://www.cgsecurity.org



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to