Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-01 06:36:04 +0400
committerChristopher Faylor <me@cgf.cx>2002-07-01 06:36:04 +0400
commitfad1c3a8e01e7403cff97f689fb66a2696ec306a (patch)
treee37fb140fed725c6f376c726d26da2d92f35b29e
parent8a2ce995f1f2adad12d6c5666032da9ab7b8b364 (diff)
white space
-rw-r--r--winsup/cygwin/ChangeLog2
-rw-r--r--winsup/cygwin/security.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index dbb4f3986..0fb306c65 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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.
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index b587af20a..f5516aa60 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -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);
}