freebsd-dev/lib/libc/net
Peter Wemm 4a1afa49fd Try and fix the worst of some highly bogus malloc/free resource
management involving rcmd_af(), getaddrinfo(), freeaddrinfo(), etc.
We set *ahost to point to ai->canonname; and later free the ai-> stuff
and still leave the old pointers in *ahost to the freed data.
Perhaps the best way to deal with this is a static buffer or a static
strdup() that is freed on the next iteration or something.  This gives
me headaches just thinking about this.

The new 'AJ' default for malloc() tripped this up.
2000-07-11 09:31:19 +00:00
..
addr2ascii.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
addr2ascii.c
ascii2addr.c
base64.c Add unsigned char cast to ctype macros arg 1999-11-04 04:30:44 +00:00
byteorder.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ether_addr.c
ethers.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getaddrinfo.3 sync with more recent kame tree. 2000-07-05 08:27:50 +00:00
getaddrinfo.c reject empty scopeid. use strtoul() for checking all-numericness of 2000-07-09 06:10:01 +00:00
gethostbydns.c Fix coredump in gethostbyaddr() when the returned answer is too large to 2000-02-16 04:39:00 +00:00
gethostbyht.c
gethostbyname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
gethostbynis.c
gethostnamadr.c Add unsigned char cast to isalpha 1999-11-04 05:01:28 +00:00
getifaddrs.3 add getifaddrs(3) from bsdi. this is a magic function which lets you grab 2000-07-05 02:13:17 +00:00
getifaddrs.c add getifaddrs(3) from bsdi. this is a magic function which lets you grab 2000-07-05 02:13:17 +00:00
getipnodebyname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getnameinfo.3 sync with more recent kame tree. 2000-07-05 08:27:50 +00:00
getnameinfo.c sync with latest kame. 2000-07-05 05:09:17 +00:00
getnetbydns.c
getnetbyht.c
getnetbynis.c
getnetent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getnetnamadr.c Add unsigned char cast to isalpha 1999-11-04 05:01:28 +00:00
getproto.c
getprotoent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getprotoent.c
getprotoname.c
getservbyname.c
getservbyport.c
getservent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getservent.c
herror.c
if_indextoname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ifname.c KAME 4th patch 1999-12-16 18:32:01 +00:00
inet6_option_space.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
inet6_rthdr_space.3 . fix .Dt macro argument 2000-05-12 10:07:31 +00:00
inet_addr.c Make this compile with -Wall -Werror 1999-12-27 08:40:40 +00:00
inet_lnaof.c
inet_makeaddr.c
inet_net_ntop.c
inet_net_pton.c
inet_neta.c
inet_netof.c
inet_network.c Add unsigned char cast to ctype macros arg 1999-11-04 04:30:44 +00:00
inet_ntoa.c
inet_ntop.c
inet_pton.c
inet.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ip6opt.c KAME 4th patch 1999-12-16 18:32:01 +00:00
iso_addr.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
iso_addr.c
linkaddr.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
linkaddr.c
Makefile.inc add getifaddrs(3) from bsdi. this is a magic function which lets you grab 2000-07-05 02:13:17 +00:00
map_v4v6.c
name6.c Previous commit broke the case of chained CNAME entries. Instead handle 2000-07-03 04:43:14 +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 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
nsap_addr.c
rcmd.3 Supply only one author name per instance of %A, as per mdoc.samples(7). 2000-05-10 09:49:04 +00:00
rcmd.c Try and fix the worst of some highly bogus malloc/free resource 2000-07-11 09:31:19 +00:00
recv.c
res_comp.c
res_config.h
res_data.c
res_debug.c Add unsigned char cast to ctype macros arg 1999-11-04 04:30:44 +00:00
res_init.c Re-commit DNS IPv6 transport support with fixes for IPv4 only 2000-06-19 18:25:06 +00:00
res_mkquery.c
res_mkupdate.c
res_query.c Add unsigned char cast to ctype macros arg 1999-11-04 04:30:44 +00:00
res_send.c Re-commit DNS IPv6 transport support with fixes for IPv4 only 2000-06-19 18:25:06 +00:00
res_update.c
resolver.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
rthdr.c CMSG_XXX macros alignment fixes to follow RFC2292. 2000-03-03 11:13:12 +00:00
send.c
vars.c KAME 4th patch 1999-12-16 18:32:01 +00:00