https://bugs.winehq.org/show_bug.cgi?id=50875
Bug ID: 50875 Summary: HTMLElement_get_offsetParent crashes wine if a NULL offset parent is expected (VbsEdit) Product: Wine Version: 6.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: dimaki@rocketmail.com Distribution: ---
This issue effects an html help file which ships with VbsEdit.
The body html element has a NULL offset parent. Attempting to retrieve it causes a null dereference crash in wine, but not in IE on Windows. Here is sample html code to reproduce the problem. In IE clicking the button produces no result while wine crashes.
<!DOCTYPE html> <html> <body> <p>Click the button to get the offsetParent for the body tag.</p> <p><button onclick="testFunction()">Click</button></p> <script> function testFunction() { document.body.offsetParent; } </script> </body> </html>
I have a patch with a fix which I will send in shortly.
https://bugs.winehq.org/show_bug.cgi?id=50875
Dmitry Kislyuk dimaki@rocketmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian Regression SHA1| |d5a190b052d4f9c33a2236e8482 | |af73fe9ad1eba CC| |jacek@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=50875
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |35d0fda0f044497df90d1ef5c1e | |2e359e8d3166e Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Jacek Caban jacek@codeweavers.com --- Fixed in git, thanks!
https://bugs.winehq.org/show_bug.cgi?id=50875
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=50875
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.6.
https://bugs.winehq.org/show_bug.cgi?id=50875
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=50875
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.2.