[PATCH 1/7] advapi32: Initialize buffer length to zero in LsaLookupSids to prevent crash.

Nikolay Sivov bunglehead at gmail.com
Sat Apr 4 13:36:12 CDT 2015


On 04.04.2015 17:22, Qian Hong wrote:
>
>          (*Names)[i].Name.Buffer = NULL;
> +        (*Names)[i].Name.Length = 0;
> +        (*Names)[i].Name.MaximumLength = 0;

Maybe it's better to hide this in RtlInitUnicodeStringEx(..., NULL) ?



More information about the wine-devel mailing list