freebsd-dev/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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ascii2addr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
base64.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
byteorder.3 Document that <netinet/in.h> can also provide prototypes. Change 2002-05-11 23:22:54 +00:00
ether_addr.c Fix style of ether_ntoa(). 2002-04-08 07:51:10 +00:00
ethers.3 yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
gethostbyname.3 yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
gethostbynis.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
gethostnamadr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getnetbynis.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getnetent.3 yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
getnetnamadr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getproto.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
getprotoent.3
getprotoent.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
getprotoname.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
getservbyname.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
getservbyport.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
getservent.3
getservent.c Remove __P() usage. 2002-03-21 22:49:10 +00:00
herror.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
hesiod.3
hesiod.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_makeaddr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_net_ntop.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_net_pton.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_net.3 Add manpage for inet_net_ntop(3) and inet_net_pton(3). 2001-08-31 10:54:44 +00:00
inet_neta.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_netof.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_network.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
inet_ntoa.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
iso_addr.3
iso_addr.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
linkaddr.3
linkaddr.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns_name.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns_netint.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns_ntoa.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns_parse.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns_print.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns_ttl.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ns.3
nsap_addr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
nsdispatch.3
nsdispatch.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
nslexer.l Fixed namespace pollution related to `err' in libc in the same way as for 2001-11-11 02:48:09 +00:00
nsparser.y Remove __P() usage. 2002-03-21 22:49:10 +00:00
rcmd.3
rcmd.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_comp.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_config.h Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00
res_data.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_debug.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_init.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_mkquery.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_mkupdate.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
res_query.c Fix syntax error which occurred when LIBC_SCCS was defined. 2002-07-07 11:28:28 +00:00
res_send.c When _kevent() returns with errno = EINTR and timeout is not 2002-04-01 16:09:45 +00:00
res_update.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
resolver.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
vars.c just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00