http://bugs.winehq.org/show_bug.cgi?id=12829
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #36991|0 |1 is obsolete| |
--- Comment #23 from Stefan Dösinger stefan@codeweavers.com 2011-11-08 17:37:55 CST --- Created attachment 37389 --> http://bugs.winehq.org/attachment.cgi?id=37389 Clean fix
The attached patch is a proper fix with tests. It turns out that this function returns an error if either pointer is NULL, or dwSize is incorrect.