Search found 4 matches

by realtim
2017-04-19T10:51:56-07:00
Forum: Bugs
Topic: Image blob realloc attempt on bad ICO file
Replies: 1
Views: 6856

Image blob realloc attempt on bad ICO file

There is a SeekBlob by offset from image header in ReadICONImage() which eventually leads to ResizeQuantumMemory (i.e. realloc()) on images with inapropriate value in header in case of disabled map cache. Consider the following context: favicon.h $ wget http://paizatter.herokuapp.com/favicon.ico ...
by realtim
2017-03-31T04:08:56-07:00
Forum: Bugs
Topic: MAGICKCORE_HAVE_READDIR_R is only referenced
Replies: 1
Views: 5013

MAGICKCORE_HAVE_READDIR_R is only referenced

MAGICKCORE_HAVE_READDIR_R is used in module.c but is never defined.
By the way is there a reason to keep two similar inline MagickReadDirectory functions in module.c and utility.c?

Tim
by realtim
2017-01-20T03:14:02-07:00
Forum: Bugs
Topic: msan: use of uninitialized value in ReadBMPImage
Replies: 3
Views: 4074

Re: msan: use of uninitialized value in ReadBMPImage

I saw your patch and it works. Thank you!
One more question -- is it right to call SyncImage in ping mode?
by realtim
2017-01-19T13:01:09-07:00
Forum: Bugs
Topic: msan: use of uninitialized value in ReadBMPImage
Replies: 3
Views: 4074

msan: use of uninitialized value in ReadBMPImage

I want to get image headers data like geometry. To achieve the goal I load image in "ping" mode. Here's the code: void print_image_geometry(const char *data, size_t len) { ImageInfo *image_info = AcquireImageInfo(); ExceptionInfo *exception_info = AcquireExceptionInfo(); Image *image = NULL; // This ...