#384587 Reading an image from a file handle causes segmentation fault

Package:
libgraphics-magick-perl
Source:
graphicsmagick
Description:
format-independent image processing - perl interface
Submitter:
Jakub Wilk
Date:
2011-09-27 18:06:12 UTC
Severity:
normal
#384587#5
Date:
2006-08-25 09:20:42 UTC
From:
To:
$ gm convert -geometry 100x100 xc:white tmp.gif
$ perl -MGraphics::Magick -e '$_ = new Graphics::Magick(); $_->Read(file => \*STDIN);' < tmp.gif
Segmentation fault

#384587#10
Date:
2006-09-01 15:31:14 UTC
From:
To:
I haven't found a proper fix for the bug yet. If you need a quick
workaround,

	Read(filename => "-");

should do for the use case cited above. I'll see to get a proper fix
soon.

Thanks for the report,

Daniel.