Module Name:    src
Committed By:   pgoyette
Date:           Wed Dec  7 03:22:14 UTC 2016

Modified Files:
        src/lib/libc/net: linkaddr.3

Log Message:
Update BUGS section to note the possibility of a truncated return value.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/net/linkaddr.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/net/linkaddr.3
diff -u src/lib/libc/net/linkaddr.3:1.10 src/lib/libc/net/linkaddr.3:1.11
--- src/lib/libc/net/linkaddr.3:1.10	Thu Aug  7 16:43:11 2003
+++ src/lib/libc/net/linkaddr.3	Wed Dec  7 03:22:14 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: linkaddr.3,v 1.10 2003/08/07 16:43:11 agc Exp $
+.\"	$NetBSD: linkaddr.3,v 1.11 2016/12/07 03:22:14 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     @(#)linkaddr.3	8.1 (Berkeley) 7/28/93
 .\"
-.Dd July 28, 1993
+.Dd December 7, 2016
 .Dt LINK_ADDR 3
 .Os
 .Sh NAME
@@ -115,6 +115,10 @@ functions appeared in
 The returned values for
 .Fn link_ntoa
 reside in a static memory area.
+If the returned value would overflow this area,
+.Fn link_ntoa
+truncates the returned string.
+There is no provision for detecting a truncated return value.
 .Pp
 The function
 .Fn link_addr

Reply via email to