[PATCH] winhttp: initialize schemes (Coverity) (resubmit)

Hans Leidekker hans at codeweavers.com
Tue Jun 4 04:41:30 CDT 2013


On Tue, 2013-06-04 at 10:16 +0200, Marcus Meissner wrote:
>  1020943 Uninitialized scalar variable
> 
> After suggestion by Hans, do it in the helper ... especially
> as the other external callers do not initialize schemes either.

I also said that you shouldn't touch the parameter on error :) The other
callers pass a pointer to a user variable and the attached test confirms
that native doesn't touch it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.diff
Type: text/x-patch
Size: 2159 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130604/73818487/attachment.bin>


More information about the wine-devel mailing list