{"action":"created","issue":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/973","repository_url":"https://api.github.com/repos/ImageMagick/ImageMagick","labels_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/973/comments","events_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/973/events","html_url":"https://github.com/ImageMagick/ImageMagick/issues/973","id":295049097,"number":973,"title":"stack-buffer-underflow","user":{"login":"SmileBugs","id":36022046,"avatar_url":"https://avatars2.githubusercontent.com/u/36022046?v=4","gravatar_id":"","url":"https://api.github.com/users/SmileBugs","html_url":"https://github.com/SmileBugs","followers_url":"https://api.github.com/users/SmileBugs/followers","following_url":"https://api.github.com/users/SmileBugs/following{/other_user}","gists_url":"https://api.github.com/users/SmileBugs/gists{/gist_id}","starred_url":"https://api.github.com/users/SmileBugs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmileBugs/subscriptions","organizations_url":"https://api.github.com/users/SmileBugs/orgs","repos_url":"https://api.github.com/users/SmileBugs/repos","events_url":"https://api.github.com/users/SmileBugs/events{/privacy}","received_events_url":"https://api.github.com/users/SmileBugs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T08:38:19Z","updated_at":"2018-02-07T08:45:20Z","closed_at":null,"author_association":"NONE","body":"\r\n### Prerequisites\r\n\r\n- [x] I have written a descriptive issue title\r\n- [x] I have verified that I am using the latest version of ImageMagick\r\n- [x] I have searched [open](https://github.com/ImageMagick/ImageMagick/issues) and [closed](https://github.com/ImageMagick/ImageMagick/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported\r\n\r\n### Description\r\n<!-- A description of the bug or feature -->\r\n\r\nVersion: ImageMagick 7.0.7-22 Q16 i686 2018-02-07 http://www.imagemagick.org\r\nCopyright: © 1999-2018 ImageMagick Studio LLC\r\nLicense: http://www.imagemagick.org/script/license.php\r\nFeatures: Cipher DPC HDRI Modules OpenMP \r\nDelegates (built-in): bzlib cairo djvu fftw flif fontconfig fpx freetype jbig jng jp2 jpeg lcms ltdl openexr pangocairo png raw rsvg tiff webp wmf x xml zlib\r\n\r\nlibfpx :：ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/libfpx-1.3.1-10.tar.gz\r\n\r\n### ASAN OUTPUT\r\n<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.\r\n     Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->\r\n\r\n> root@v22017125319057172:/opt/lib_fuzz/test# convert not_kitty.bmp not_kitty.FPX\r\n=================================================================\r\n==4195==ERROR: AddressSanitizer: stack-buffer-underflow on address 0xbfb03478 at pc 0xaff403b8 bp 0xbfb033f8 sp 0xbfb033e8\r\nREAD of size 16 at 0xbfb03478 thread T0\r\n    #0 0xaff403b7 in OLEProperty::operator=(tagFILETIME const&) /opt/lib/libfpx-1.3.1-10/ole/oleprop.cpp:260\r\n    #1 0xafdece4b in PFileFlashPixView::InitSummaryInfoPropertySet() /opt/lib/libfpx-1.3.1-10/fpx/f_fpxvw.cpp:1199\r\n    #2 0xafdef6f9 in PFileFlashPixView::Init() /opt/lib/libfpx-1.3.1-10/fpx/f_fpxvw.cpp:237\r\n    #3 0xafdf3187 in PFileFlashPixView::PFileFlashPixView(FicNom&, char const*, mode_Ouverture, unsigned int) /opt/lib/libfpx-1.3.1-10/fpx/f_fpxvw.cpp:121\r\n    #4 0xafe27419 in PFlashPixImageView::PFlashPixImageView(FicNom&, int, int, float, FPXBaselineColorSpace, unsigned long, FPXCompressionOption, unsigned char, unsigned char) /opt/lib/libfpx-1.3.1-10/fpx/fpximgvw.cpp:282\r\n    #5 0xafe3df6c in CreateImageByFilename(FicNom&, unsigned int, unsigned int, unsigned int, unsigned int, FPXColorspace, FPXBackground, FPXCompressionOption, PFlashPixImageView**) /opt/lib/libfpx-1.3.1-10/fpx/fpxlibio.cpp:1411\r\n    #6 0xafe3e664 in FPX_CreateImageByFilename /opt/lib/libfpx-1.3.1-10/fpx/fpxlibio.cpp:1461\r\n    #7 0xb3c6ba79 in WriteFPXImage coders/fpx.c:865\r\n    #8 0xb636604f in WriteImage MagickCore/constitute.c:1117\r\n    #9 0xb6367c1f in WriteImages MagickCore/constitute.c:1336\r\n    #10 0xb5b30e4a in ConvertImageCommand MagickWand/convert.c:3280\r\n    #11 0xb5d50a35 in MagickCommandGenesis MagickWand/mogrify.c:183\r\n    #12 0x8049abe in MagickMain utilities/magick.c:149\r\n    #13 0x804907a in main utilities/magick.c:180\r\n    #14 0xb5858636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)\r\n    #15 0x80490fb  (/usr/bin/magick+0x80490fb)\r\n\r\n### POC\r\n[not_kitty.zip](https://github.com/ImageMagick/ImageMagick/files/1702266/not_kitty.zip)\r\n\r\n### System Configuration\r\n<!-- Tell us about the environment where you are experiencing the bug -->\r\n\r\n\r\n- ImageMagick version: 7.0.7-22\r\n- Environment (Operating system, version and so on): ubuntu-16.04.3-server-i386\r\n- Additional information:\r\n\r\nFound by: Wang Yan\r\n<!-- Thanks for reporting the issue to ImageMagick! -->\r\n"},"comment":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/comments/363697438","html_url":"https://github.com/ImageMagick/ImageMagick/issues/973#issuecomment-363697438","issue_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/973","id":363697438,"user":{"login":"dlemstra","id":10426229,"avatar_url":"https://avatars3.githubusercontent.com/u/10426229?v=4","gravatar_id":"","url":"https://api.github.com/users/dlemstra","html_url":"https://github.com/dlemstra","followers_url":"https://api.github.com/users/dlemstra/followers","following_url":"https://api.github.com/users/dlemstra/following{/other_user}","gists_url":"https://api.github.com/users/dlemstra/gists{/gist_id}","starred_url":"https://api.github.com/users/dlemstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlemstra/subscriptions","organizations_url":"https://api.github.com/users/dlemstra/orgs","repos_url":"https://api.github.com/users/dlemstra/repos","events_url":"https://api.github.com/users/dlemstra/events{/privacy}","received_events_url":"https://api.github.com/users/dlemstra/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T08:45:20Z","updated_at":"2018-02-07T08:45:20Z","author_association":"OWNER","body":"@SmileBugs Thanks for reporting this 👍  Could you make sure you put your stack trace in a code block next time (you can also edit this one)? You are now referencing other unrelated issues."}}
{"actor":{"display_login":"dlemstra"}}