winspool: do not access NULL, when HeapAlloc failed

Detlef Riekenberg wine.dev at web.de
Wed Feb 14 15:54:19 CST 2007


Detected by Coverity:

It is possible, that we access NULL, when HeapAlloc failed and 
pm->monitor->pfnEnumPorts did not clear pm->returned


Changelog:
- winspool: Do not access NULL, when HeapAlloc failed



-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winspool_avoid_null_access.diff
Type: text/x-patch
Size: 577 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070214/b8efa909/winspool_avoid_null_access.bin


More information about the wine-patches mailing list