Re: [PATCH 1/7] advapi32: Initialize buffer length to zero in LsaLookupSids to prevent crash.
April 4, 2015
1:36 p.m.
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) ?
April 2015
5:14 p.m.
New subject: [PATCH 1/7] advapi32: Initialize buffer length to zero in LsaLookupSids to prevent crash.
Hi Nikolay, On Sun, Apr 5, 2015 at 2:36 AM, Nikolay Sivov <bunglehead(a)gmail.com> wrote:
Maybe it's better to hide this in RtlInitUnicodeStringEx(..., NULL) ? Good idea, thanks for suggestion ;-)
-- Regards, Qian Hong - http://www.codeweavers.com
4009
Age (days ago)
4009
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nikolay Sivov -
Qian Hong