[Webkit-unassigned] [Bug 19240] New: WinLauncher _tWinMain() returns uninitialized memory.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 24 23:27:39 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=19240
Summary: WinLauncher _tWinMain() returns uninitialized memory.
Product: WebKit
Version: 526+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Minor
Priority: P4
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ppedriana at gmail.com
WinLauncher _tWinMain() returns uninitialized memory for the msg.wParam
variable in some cases. The problem is that the msg variable is uninitialized.
The following shows the relevant code:
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
.
.
MSG msg;
.
.
HRESULT hr = CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView,
(void**)&gWebView);
if (FAILED(hr))
goto exit;
.
.
exit:
.
.
return (int) msg.wParam;
}
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list