You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix Division by zero in XMenuWidget() of MagickCore/widget.c
* Fix memory leak in AnimateImageCommand() of MagickWand/animate.c and DisplayImageCommand() of MagickWand/display.c
* fix Division by zero in ReadEnhMetaFile() of coders/emf.c
* Resolve conflicts
* fix issue: outside the range of representable values of type 'unsigned char' at coders/psd.c:1025
* fix error: 4e+26 is outside the range of representable values of type 'unsigned long' at coders/pcl.c:299
* fix#5033:runtime error: load of misaligned address
Co-authored-by: zhailiangliang <zhailiangliang@loongson.cn>
ImageMagick version
7.1.0-29
Operating system
Linux
Operating system, version and so on
Ubuntu 20.04.4 LTS
Description
Hi, there is runtime error: load of misaligned address at MagickCore/property.c:1548,1553
Here's UBSAN log:
MagickCore/property.c:1548:15: runtime error: load of misaligned address 0x62300000710b for type 'float', which requires 4 byte alignment
0x62300000710b: note: pointer points here
49 2a 00 08 00 00 00 02 00 1a 01 0b 00 14 00 00 00 05 00 00 00 05 00 01 00 05 00 00 40 05 00 00
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior MagickCore/property.c:1548:15 in
MagickCore/property.c:1553:15: runtime error: load of misaligned address 0x62300000714d for type 'double', which requires 8 byte alignment
0x62300000714d: note: pointer points here
01 04 00 01 00 00 00 06 00 00 00 01 02 04 00 01 00 00 00 00 00 80 08 02 02 04 00 01 00 00 00 3f
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior MagickCore/property.c:1553:15 in
Steps to Reproduce
CC=clang CXX=clang++ CFLAGS="-fsanitize=address,undefined -g" CXXFLAGS="-fsanitize=address,undefined -g" ./configure
make & make install
/usr/local/bin/magick convert poc /dev/null
Images
poc.zip
The text was updated successfully, but these errors were encountered: