Moin,
On Friday 31 August 2007 20:06:41 via RT wrote:
Show quoted text> Fri Aug 31 14:06:34 2007: Request 29088 was acted upon.
> Transaction: Ticket created by MSERGEANT
> Queue: Image-Info
> Subject: Another hanging image
> Broken in: 1.25
> Severity: Critical
> Owner: Nobody
> Requestors: MSERGEANT@cpan.org
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=29088 >
>
>
> Hi Tels,
>
> I have another image that causes an infinite loop in extracting exif
> data. It loops forever doing:
>
> SUBIFD InteroperabilityOffset 8 948
> SUBIFD ExifOffset 162 948
> SUBIFD InteroperabilityOffset 8 948
> SUBIFD ExifOffset 162 948
> etc
>
> (that's with the print debug uncommented on line 983-ish of TIFF.pm)
>
> I have a fix that involves doing:
>
> return if $self->{seen_field_offset}{$offset}++;
>
> in add_fields. Is that a valid fix to never look at the same offset
> twice?
I have no idea :)
But it sounds sensible, if you sent in a patch and a small testimage, I
gladly apply it and release another version.
thank you for you report!
tels
--
Signed on Fri Aug 31 21:16:18 2007 with key 0x93B84C15.
View my photo gallery:
http://bloodgate.com/photos
PGP key on
http://bloodgate.com/tels.asc or per email.
"Den wahren Wert dieser Software werden vermutlich nur Fach Läute und
Firmen erkennen."
-- "So isst es. Ein gewißer Standart muss schon gewart beiben!" -- Kabe
(
http://tinyurl.com/3kucx)