[Webkit-unassigned] [Bug 132772] New: [Win] Enum type with value zero is compatible with void*, potential cause of crashes.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 10 02:29:46 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=132772
Summary: [Win] Enum type with value zero is compatible with
void*, potential cause of crashes.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: peavo at outlook.com
Using the MSVC compiler, an instance of an enum type with value zero, is compatible with void* (see bug 132683 for a code example).
This has caused crashes on Windows on two occasions (bug 132683, and bug 121001).
This patch tries to prevent these type of crashes by using a type with explicit constructors instead of void*.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list