gimp-2.2.4-2

Jakub Bogusz qboosh w pld-linux.org
Czw, 24 Mar 2005, 19:12:25 CET


On Thu, Mar 24, 2005 at 04:17:45PM +0100, Bartosz Taudul wrote:
> On Thu, Mar 24, 2005 at 03:17:29PM +0100, Fryderyk Dziarmagowski wrote:
> > sypie się.. wolf sie zna na valgrindzie niech sprawdzi ;P
> ==18528== Warning: set address range perms: large range 472508988, a 0, v 1
> ==18528== Invalid write of size 1
> ==18528==    at 0x1C12CBDC: exif_data_save_data_entry (exif-data.c:241)
> ==18528==    by 0x1C12D625: exif_data_save_data_content (exif-data.c:460)
> ==18528==    by 0x1C12E8F5: exif_data_save_data (exif-data.c:839)
> ==18528==    by 0x804CE69: load_image (jpeg.c:1297)
> ==18528==    by 0x804B7B2: run (jpeg.c:460)
> ==18528==    by 0x1B93FB7E: gimp_proc_run (gimp.c:1772)
> ==18528==    by 0x1B93F858: gimp_loop (gimp.c:1615)
> ==18528==    by 0x1B93E29E: gimp_main (gimp.c:459)
> ==18528==    by 0x804B519: main (jpeg.c:327)
> ==18528==  Address 0x38DD804F is not stack'd, malloc'd or (recently) free'd

Uproszczony testcase:

#include <libexif/exif-data.h>
int main()
{
  ExifData *ed;
  unsigned char *eb;
  unsigned int ebl;
  ed = exif_data_new_from_file("gimp_test_case.jpg");
  exif_data_save_data(ed, &eb, &ebl);
  exif_data_unref(ed);
  return 0;
}


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl