imagemagick/encoder_psd_fuzzer: Negative-size-param in CopyMagickMemory

2018-01-25T22:24:22
ID OSSFUZZ-5689
Type ossfuzz
Reporter Google
Modified 2018-02-28T16:21:15

Description

Project: https://github.com/imagemagick/imagemagick.git

Detailed report: https://oss-fuzz.com/testcase?key=5076161005617152

Project: imagemagick Fuzzer: afl_imagemagick_encoder_psd_fuzzer Fuzz target binary: encoder_psd_fuzzer Job Type: afl_asan_imagemagick Platform Id: linux

Crash Type: Negative-size-param Crash Address: Crash State: CopyMagickMemory RemoveResolutionFromResourceBlock WritePSDImage

Sanitizer: address (ASAN)

Regressed: https://oss-fuzz.com/revisions?job=afl_asan_imagemagick&range=201801130553:201801150014

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5076161005617152

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse without an upstream patch, then the bug report will automatically become visible to the public.

When you fix this bug, please * mention the fix revision(s). * state whether the bug was a short-lived regression or an old bug in any stable releases. * add any other useful information. This information can help downstream consumers.

If you have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.