freebsd-nq/lib/libc/net
Robert Drehmel 085f131a15 - Fix a bug that wrote one char behind the end of the
supplied buffer in case the size of it was equal to
   the number of characters the converted address consumed.
   The bug occurred when converting an AF_INET address.
 - Remove the SPRINTF macro and use sprintf instead.
 - Do not do string formatting using sprintf(3) and a
   temporary buffer which is copied when the supplied
   buffer provides enough space.  Instead, use snprintf(3)
   and the real destination buffer, thus avoid the copy.

Reported by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> (1)
PR:		misc/41289
2002-08-15 21:19:31 +00:00
..
addr2ascii.3
addr2ascii.c
ascii2addr.c
base64.c
byteorder.3 Document that <netinet/in.h> can also provide prototypes. Change 2002-05-11 23:22:54 +00:00
ether_addr.c
ethers.3
getaddrinfo.3 just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
getaddrinfo.c Remove an #include <syslog.h>. It's already included conditionally 2002-08-02 11:58:48 +00:00
gethostbydns.c Remove two stray lines that snuck in the cvs merge 2002-06-26 14:18:36 +00:00
gethostbyht.c
gethostbyname.3
gethostbynis.c
gethostnamadr.c
getifaddrs.3
getifaddrs.c sysctl(NET_RT_IFLIST) up to several (currently 5) times. 2002-07-25 08:08:30 +00:00
getipnodebyname.3
getnameinfo.3
getnameinfo.c - ntohs() returns unsigned value. 2002-07-24 18:58:32 +00:00
getnetbydns.c Remove two stray lines that snuck in the cvs merge 2002-06-26 14:18:36 +00:00
getnetbyht.c
getnetbynis.c
getnetent.3
getnetnamadr.c
getproto.c
getprotoent.3
getprotoent.c
getprotoname.c
getservbyname.c
getservbyport.c
getservent.3
getservent.c
herror.c
hesiod.3
hesiod.c
if_indextoname.3 mdoc(7) police: laundry. 2002-08-09 11:15:49 +00:00
if_indextoname.c Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex() 2002-07-15 19:58:56 +00:00
if_nameindex.c Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex() 2002-07-15 19:58:56 +00:00
if_nametoindex.c Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex() 2002-07-15 19:58:56 +00:00
inet6_option_space.3
inet6_rthdr_space.3
inet_addr.c just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
inet_lnaof.c
inet_makeaddr.c
inet_net_ntop.c
inet_net_pton.c
inet_net.3
inet_neta.c
inet_netof.c
inet_network.c
inet_ntoa.c
inet_ntop.c - Fix a bug that wrote one char behind the end of the 2002-08-15 21:19:31 +00:00
inet_pton.c -Add the restrict required by IEEE Std 1003.1-2001 in form 2002-08-14 20:40:35 +00:00
inet.3 Put each function argument on its own line to keep lines shorter 2002-08-15 20:33:44 +00:00
ip6opt.c
iso_addr.3
iso_addr.c
linkaddr.3
linkaddr.c
Makefile.inc Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex() 2002-07-15 19:58:56 +00:00
map_v4v6.c Include more robust checking of end of buffer that more completely 2002-06-26 08:18:05 +00:00
name6.c Remove two lines that were cvs merged that shouldn't have been. This 2002-06-26 18:03:31 +00:00
ns_addr.c
ns_name.c
ns_netint.c
ns_ntoa.c
ns_parse.c
ns_print.c
ns_ttl.c
ns.3
nsap_addr.c
nsdispatch.3
nsdispatch.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
nslexer.l
nsparser.y
rcmd.3
rcmd.c
rcmdsh.3 Correct FreeBSD release of first appearance in the HISTORY section 2002-06-06 10:51:25 +00:00
rcmdsh.c Add awareness of an IPv6. 2002-04-15 18:45:20 +00:00
recv.c
res_comp.c
res_config.h
res_data.c
res_debug.c
res_init.c
res_mkquery.c
res_mkupdate.c
res_query.c Fix syntax error which occurred when LIBC_SCCS was defined. 2002-07-07 11:28:28 +00:00
res_send.c
res_update.c
resolver.3
rthdr.c just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
send.c
vars.c just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00