Search found 6 matches
- 2017-03-05T06:36:23-07:00
- Forum: Bugs
- Topic: Invalid memory read on malformed wpg image
- Replies: 3
- Views: 4049
Re: Invalid memory read on malformed wpg image
I'm sorry, file permission problem, download works now. I'm open to helping creating an image corpus. I agree that bundling them in the imagemagick distribution may not be the best idea, due to the fact that this could quickly become pretty large. But it could simply be a git repository where the ...
- 2017-02-25T03:44:08-07:00
- Forum: Bugs
- Topic: Invalid memory read on malformed wpg image
- Replies: 3
- Views: 4049
Invalid memory read on malformed wpg image
Here's a file that causes invalid heap memory read accesses in convert which show up when compiled with address sanitizer: https://crashes.fuzzing-project.org/imagemagick-omp_outlined-invalid-memory-read.wpg Test: convert -resize 1 [input] out This happened while testing some older files I had ...
- 2015-06-20T13:16:25-07:00
- Forum: Bugs
- Topic: Malformed input causing huge malloc
- Replies: 8
- Views: 5610
Re: Malformed input causing huge malloc
Thanks for the note with the height/width limit.
However given the description of the "area" limit I'd still consider these a bug if these try to alloc huge amounts of memory if a limit is set. Or am I misunderstanding something here?
However given the description of the "area" limit I'd still consider these a bug if these try to alloc huge amounts of memory if a limit is set. Or am I misunderstanding something here?
- 2015-06-20T02:51:51-07:00
- Forum: Bugs
- Topic: Malformed input causing huge malloc
- Replies: 8
- Views: 5610
Re: Malformed input causing huge malloc
Here are three more cases: https://crashes.fuzzing-project.org/imagemagick-malloc-fail-ReadBMPImage https://crashes.fuzzing-project.org/imagemagick-malloc-fail-ReadPCXImage https://crashes.fuzzing-project.org/imagemagick-malloc-fail-ReadRLEImage Although ImageMagick exists gracefully I think these ...
- 2015-06-18T11:20:39-07:00
- Forum: Bugs
- Topic: Malformed input causing huge malloc
- Replies: 8
- Views: 5610
Re: Malformed input causing huge malloc
That's the point of fuzzing, it's "garbage" that imagemagick will try to interpret and expose bugs on doing so. Forgot in the initial post, here's the address sanitizer stack trace: ==9248==AddressSanitizer CHECK failed: /var/tmp/portage/sys-devel/llvm-3.6.1/work/llvm-3.6.1.src/projects/compiler-rt ...
- 2015-06-18T10:39:05-07:00
- Forum: Bugs
- Topic: Malformed input causing huge malloc
- Replies: 8
- Views: 5610
Malformed input causing huge malloc
The first time I posted this it got deleted and my account locked, but according to twitter replies this happened by accident ;-) Therefore I post it again. I was fuzzing imagemagick's identify command and on certain input files it tries to allocate huge amounts of memory. This would be okay if ...