https://bugs.winehq.org/show_bug.cgi?id=55310
Bug ID: 55310 Summary: tools/widl/hash.c:714:13: runtime error: store to misaligned address 0xffda6583 for type 'unsigned int', which requires 4 byte alignment (UndefinedBehaviorSanitizer) Product: Wine Version: 8.13 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
Created attachment 74909 --> https://bugs.winehq.org/attachment.cgi?id=74909 build log
For this issue, just recompiling tools/widl is enough to see the issue: ./configure && make -j12 cd tools/widl make clean make CFLAGS="-fsanitize=undefined" LDFLAGS="-fsanitize=undefined"
tools/widl/widl -o include/windows.foundation.h -m32 --nostdinc -Ldlls/* -Iinclude -Iinclude -D__WINESRC__ \ include/windows.foundation.idl tools/widl/hash.c:714:13: runtime error: store to misaligned address 0xffe6aac6 for type 'unsigned int', which requires 4 byte alignment 0xffe6aac6: note: pointer points here 00 00 00 00 00 00 00 00 00 00 8c ab e6 ff 00 e0 7a 56 20 40 7f 57 f8 aa e6 ff 00 e0 7a 56 30 00 ^ tools/widl/hash.c:715:13: runtime error: store to misaligned address 0xffe6aaca for type 'unsigned int', which requires 4 byte alignment 0xffe6aaca: note: pointer points here 00 00 00 00 00 00 8c ab e6 ff 00 e0 7a 56 20 40 7f 57 f8 aa e6 ff 00 e0 7a 56 30 00 00 00 8d 89 ^
There are 62 total occurrences.