Search found 2 matches

by arepi
2011-10-26T08:42:19-07:00
Forum: Bugs
Topic: ReadTIFFImage memory leak
Replies: 1
Views: 4099

ReadTIFFImage memory leak

Missing DestroyQuantumInfo before end of ReadTIFFImage function.

It's solved it in my own build.

quantum_info=DestroyQuantumInfo(quantum_info);
} while (status == MagickTrue);
quantum_info=DestroyQuantumInfo(quantum_info); <--- this one
(void) TIFFSetWarningHandler(warning_handler);
(void ...
by arepi
2010-09-02T00:34:59-07:00
Forum: Bugs
Topic: crash PSD with layer with negative position x64
Replies: 1
Views: 3791

crash PSD with layer with negative position x64

A fix for ImageMagick 6.6.4 Windows x64 bug:

in psd.c layers data are parsed correctly if ssize_t is unsigned int, but in x64 platform it's an __int64, so adding 4294967295UL the result is wrong.

I've changed line 1001 and 1002 to cast to int instead of ssize_t, I'm not sure if test > 300000 is ...