[PATCH] iphlpapi: Avoid use of uninitialized variable
Gerald Pfeifer
gerald at pfeifer.com
Fri Jan 28 09:33:58 CST 2022
On Fri, 28 Jan 2022, Huw Davies wrote:
> It's actually not used unconditionally, since it's only used if
> sockaddr.si_family is non-zero, in which case it will have been
> initialised.
>
> It makes more sense to zero-init where sockaddr in also initialised
> since we're in a loop.
>
> I've sent in v2.
Very cool. Thank you, Huw!
Gerald
More information about the wine-devel
mailing list