shdocvw.dll navigate_url variable not checked for null
Gluck
ortuna at gmail.com
Fri Jul 11 23:57:36 CDT 2008
Good evening,
I recently came across a program that would crash with an "Access violation
in shdocvw.dll at address 0x000002". after doing some tracing the program
was sending out a navigate_url and the variable url was set to null. The
function then does a create_callback with those variables causing the access
violation.
Changelog: checking LPCWSTR url for null and returning S_FALSE if it is
true
first time submitting a patch, so please let me know if I messed up
anything.
Thanks,
Sumeet Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20080712/dcba0a03/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-variable-url-navigate-url.patch
Type: text/x-diff
Size: 872 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080712/dcba0a03/attachment.patch
More information about the wine-patches
mailing list