Search found 5 matches

by woodyuk11
2017-11-27T04:13:12-07:00
Forum: Bugs
Topic: Invalid delete on WPG Image
Replies: 5
Views: 6927

Re: Invalid delete on WPG Image

Here is another test file of a different format replicating the issue. Am I using the Magick++ API incorrectly? I've also tested this using 7.0.7-11 and had the same results

https://drive.google.com/file/d/1yKzgpO ... sp=sharing
by woodyuk11
2017-11-23T02:33:08-07:00
Forum: Bugs
Topic: Invalid delete on WPG Image
Replies: 5
Views: 6927

Re: Invalid delete on WPG Image

The data pointer in the blob in the code above gets copied into a new blob within the image. This data pointer within the image blob has realloc called on it ( from SeekBlob() -> ResizeQuantumMemory() -> ResizeMagickMemory() ) and the image blob's data pointer gets reassigned to the new reallocated ...
by woodyuk11
2017-11-22T06:54:04-07:00
Forum: Bugs
Topic: Invalid delete on WPG Image
Replies: 5
Views: 6927

Re: Invalid delete on WPG Image

I worry this isn't clear. If I call Image.read() passing in a blob which is set up with some data, we assign the pointer to the data to an internal blob. During the processing of this image we call ResizeMagickMemory() on the data pointer. This reallocs the memory and assigns the pointer to the new ...
by woodyuk11
2017-11-22T03:59:15-07:00
Forum: Bugs
Topic: Invalid delete on WPG Image
Replies: 5
Views: 6927

Invalid delete on WPG Image

I am using ImageMagick-6.9.9.20. I have a WPG, I load it into a blob via the update(), I then call Image.read() on said blob. In this read call we use the blob to create an image (BlobToImage()) which copies the pointer of the blob's data to a ImageInfo structure. During the read we perform a ...