white space
This commit is contained in:
parent
8a2ce995f1
commit
fad1c3a8e0
@ -23,7 +23,7 @@
|
||||
argument.
|
||||
(fhandler_process::fill_filebuf): Use p pointer rather than argument.
|
||||
|
||||
2002-06-29 Pierre Humblet <pierre.humblet@ieee.org>
|
||||
2002-06-29 Pierre Humblet <pierre.humblet@ieee.org>
|
||||
|
||||
* security.cc (extract_nt_dom_user): Check for all buffer overflows.
|
||||
Call LookupAccountSid after trying to get domain & user from passwd.
|
||||
|
@ -75,7 +75,7 @@ extract_nt_dom_user (const struct passwd *pw, char *domain, char *user)
|
||||
else if (u - d <= INTERNET_MAX_HOST_NAME_LENGTH + 2)
|
||||
strlcpy(domain, d + 2, u - d - 1);
|
||||
if (c == NULL)
|
||||
c = u + UNLEN + 1;
|
||||
c = u + UNLEN + 1;
|
||||
if (c - u <= UNLEN + 1)
|
||||
strlcpy(user, u + 1, c - u);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user