https://bugs.winehq.org/show_bug.cgi?id=36651
Bug ID: 36651 Summary: shlwapi/tests/path.c: stack smashing detected (valgrind/gcc-4.9.0) Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: shlwapi Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Created attachment 48695 --> https://bugs.winehq.org/attachment.cgi?id=48695 output
If I compile wine with 4.9.0 and run it under valgrind, I noticed that shlwapi/path crashes pretty spectacularly:
*** stack smashing detected ***: shlwapi_test.exe.so terminated ======= Backtrace: ========= /lib32/libc.so.6(+0x6e96d)[0x42a296d] /lib32/libc.so.6(__fortify_fail+0x45)[0x43347d5] /lib32/libc.so.6(+0x10078a)[0x433478a] /home/austin/wine-valgrind/dlls/shlwapi/shlwapi.dll.so(+0x50314)[0x5100314] /home/austin/wine-valgrind/dlls/shlwapi/shlwapi.dll.so(PathCombineW+0x2e1)[0x50dfa84] /home/austin/wine-valgrind/dlls/shlwapi/shlwapi.dll.so(PathCombineA+0x18f)[0x50df743]
I'll attach the full output