netapi32: Avoid NULL access in NetApiBufferAllocate, with test
(coverity)
Detlef Riekenberg
wine.dev at web.de
Fri Sep 8 04:29:54 CDT 2006
Yesterday, we talked about the coverity-warning
for "crypt32.dll"
Bug-Reason is a possible NULL-access in
netapi32/NetApiBufferAllocate().
We have a test for this Function, but the NULL-condition
was not tested.
(the old tests are incomplete and the messages are wrong,
but that is a different story)
Changelog:
- netapi32: Avoid NULL access in NetApiBufferAllocate, with test
(coverity)
--
By by ... Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netapi32_avoid_NULL_access.diff
Type: text/x-patch
Size: 1798 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060908/7d973f73/netapi32_avoid_NULL_access.bin
More information about the wine-patches
mailing list