Bug 64179

Summary: [wx] Crash when trying to render scroll bars
Product: WebKit Reporter: Malcolm MacLeod <mmacleod>
Component: WebKit wxAssignee: Kevin Ollivier <kevino>
Status: RESOLVED INVALID    
Severity: Normal CC: kevino
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Windows 2000   
Attachments:
Description Flags
Patch to fix invalid pointer dereference under win2000 none

Malcolm MacLeod
Reported 2011-07-08 10:50:14 PDT
Created attachment 100132 [details] Patch to fix invalid pointer dereference under win2000 On windows 2000 there is a crash when attempting to render scrollbars, this occurs because the code allocated a theme engine and then trys to get a theme handle from the engine without first checking if the engine is valid. On windows 2000 there is no theme engine so this fails. It is possible this might affect some more modern platforms as well, e.g. Windows XP "lite" modes where people have ripped part of the shell out, or maybe some of the server range windows under certain circumstances, but either way it is better to correct this. Simple patch attached.
Attachments
Patch to fix invalid pointer dereference under win2000 (668 bytes, patch)
2011-07-08 10:50 PDT, Malcolm MacLeod
no flags
Alexey Proskuryakov
Comment 1 2023-02-03 08:37:29 PST
Mass closing remaining WebKit wx bugs, as this port is long gone.
Note You need to log in before you can comment on or make changes to this bug.