user32: WIN_GetPtr can return NULL. (Coverity)

Kai Blin kai.blin at gmail.com
Mon Oct 13 23:27:30 CDT 2008


So check if the return value is NULL before dereferencing it.

This fixes Coverity CID 273
---
 dlls/user32/mdi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a4864461ddd04c195a5d1e6a48db520be5a2c822.diff
Type: text/x-patch
Size: 600 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081014/cb910f4f/attachment.bin 


More information about the wine-patches mailing list