[Bug 49772] New: Memory safety issues in widl
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(a)winehq.org Reporter: kolan_n(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Can you give us a minimal reproducible example for the crash? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 --- Comment #2 from KOLANICH <kolan_n(a)mail.ru> --- Created attachment 68110 --> https://bugs.winehq.org/attachment.cgi?id=68110 minimal.idl -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 --- Comment #3 from Nikolay Sivov <bunglehead(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 --- Comment #4 from KOLANICH <kolan_n(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/3148 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0ce5584acc99d52842a04536806 | |d9e0103f45c5a Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/0ce5584acc99d52842a04536806d9e0... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.12. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49772 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49772 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0.x |--- -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla