Page 1 of 1

identify crashes on non-image XML files

Posted: 2009-07-30T11:04:38-07:00
by broucaries
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533704

A user run identify on a directory containing xml file that are not image and it crahs with message like this
Identify: Memory allocation failed `eg.rdf' @ svg.c/ReadSVGImage/2827.

Identify: Memory allocation failed `eg.html' @ svg.c/ReadSVGImage/2827.

It look like xml are considered by default as svg.

bastien

Re: identify crashes on non-image XML files

Posted: 2009-08-12T07:18:16-07:00
by broucaries
Any news of this bug ?

Regards

Bastien

Re: identify crashes on non-image XML files

Posted: 2009-08-12T08:38:14-07:00
by magick
We cannot reproduce the problem. Post a URL to an image that is misidentified as SVG when its plain XML so we can download it, reproduce the problem, and work towards a patch. Thanks.

Re: identify crashes on non-image XML files

Posted: 2009-08-13T02:28:14-07:00
by broucaries

Re: identify crashes on non-image XML files

Posted: 2009-08-13T06:34:27-07:00
by magick
We have a patch for the problem you reported. Non-SVG XML files will return with a 'no decode delegate for this image format' exception.

Re: identify crashes on non-image XML files

Posted: 2009-08-13T09:09:47-07:00
by broucaries
Could you send the patch to 533704 at bugs.debian.org we will try to backport if possible.