https://bugs.winehq.org/show_bug.cgi?id=49772
Bug ID: 49772 Summary: Memory safety issues in widl Product: Wine Version: 5.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: kolan_n@mail.ru Distribution: ---
I have tried to compile some type libraries missing in MinGW-w64 and Wine and ReactOS SDKs too (more precisely, sapiddk.idl) into headers from the files in Windows SDK (used Windows 10 SDK). MinGW-w64 widl has crashed without producing any output, just left some files with garbled filenames (looks like a zero terminator got missing in a C string). So I have built wine widl. It has also crashed, but at least produced some meaningful output.
https://bugs.winehq.org/show_bug.cgi?id=49772
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Can you give us a minimal reproducible example for the crash?
https://bugs.winehq.org/show_bug.cgi?id=49772
--- Comment #2 from KOLANICH kolan_n@mail.ru --- Created attachment 68110 --> https://bugs.winehq.org/attachment.cgi?id=68110 minimal.idl
https://bugs.winehq.org/show_bug.cgi?id=49772
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- It's probably anonymous struct within a union here:
--- union { struct { char gh; }; char df; }; ---
Does it work if you give it a name? If it does it's probably a duplicate of bug 49797 or vice versa.
Garbled filenames are probably temporary files that get left behind when widl crashes.
https://bugs.winehq.org/show_bug.cgi?id=49772
--- Comment #4 from KOLANICH kolan_n@mail.ru ---
it's probably a duplicate of #49797 or vice versa.
Not quite. In #49797 widl doesn't crash, instead writes an error.
Does it work if you give it a name?
Should try tomorrow.
https://bugs.winehq.org/show_bug.cgi?id=49772
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/3148
https://bugs.winehq.org/show_bug.cgi?id=49772
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0ce5584acc99d52842a04536806 | |d9e0103f45c5a Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/0ce5584acc99d52842a04536806d9e0...
https://bugs.winehq.org/show_bug.cgi?id=49772
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.12.
https://bugs.winehq.org/show_bug.cgi?id=49772
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x