diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-21 15:15:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-21 15:15:40 +0000 |
commit | 6a2a3c144c9bf819703b032d436220baed7bf4a9 (patch) | |
tree | 15a0c0c86bf67fca51d7d1f724e0659b27813c71 /share | |
parent | f01eb4b386abe7e1f13fb61ed4194e43adc3157a (diff) |
mention that strings in lastlog and utmp are not guaranteed to be NUL-terminated
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/utmp.5 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man5/utmp.5 b/share/man/man5/utmp.5 index 4b378798ba7..c491337d78d 100644 --- a/share/man/man5/utmp.5 +++ b/share/man/man5/utmp.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utmp.5,v 1.8 1998/11/29 15:47:25 aaron Exp $ +.\" $OpenBSD: utmp.5,v 1.9 1999/04/21 15:15:39 millert Exp $ .\" $NetBSD: utmp.5,v 1.5 1994/11/30 19:31:35 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -185,6 +185,16 @@ character indicates the time prior to the change and the .Dq \&{ character indicates the new time. .El +.Sh CAVEATS +The strings in the +.Fa utmp +and +.Fa lastlog +structures are +.Em not +normal +.Sq C +strings are are thus not guaranteed to be NUL-terminated. .Sh FILES .Bl -tag -width /var/log/lastlog -compact .It Pa /var/run/utmp |