Hi, I experienced random crashes of Rawstudio while opening
directories with Sony DSLR-A100 raw files.
I found out, that tag 0x014a in raw files made by A100 points to image
raw data instead of SubIFD.
Rawstudio parses random image data as IFD and crashes on some valid images.
I include a small patch for meta-tiff plugin that fixes the problem.
--- tiff-meta-old.c 2011-03-23 14:14:35.775848392 +0100
+++ tiff-meta.c 2011-03-23 14:13:46.000000000 +0100
@@ -1659,6 +1659,10 @@
case 0x0132: /* DateTime */
break;
case 0x014a: /* SubIFD */
+ /*Sony DSLR-A100 tag 0x014a points to
RAW data */
+ if (meta->make == MAKE_SONY)
+ if
(g_strcmp0(meta->model_ascii, "DSLR-A100") == 0)
+ break;
if (ifd.count == 1)
ifd_reader(rawfile,
ifd.value_offset, meta);
else
Regards, Jacek
_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev