freebsd-dev/usr.sbin/rpcbind
Mark Johnston 5656b5057e Fix rpcbind init after r300941.
- getaddrinfo() sets res = NULL on failure and freeaddrinfo() always
  dereferences its argument, so we should only free the address list after
  a successful call.
- Address a second potential leak caused by getaddrinfo(AF_INET6)
  overwriting the address list returned by getaddrinfo(AF_INET).

X-MFC-With:	r300941
2016-05-29 19:46:34 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
check_bound.c Remove a useless if (x != NULL) check before calling free on allocated_uaddr 2016-05-29 06:01:18 +00:00
Makefile "source routing" in rpcbind 2016-01-06 00:00:11 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmap_svc.c Replace Sun RPC license with a 3-clause BSD license, with the explicit 2013-11-25 16:44:02 +00:00
rpcb_stat.c Replace Sun RPC license with a 3-clause BSD license, with the explicit 2013-11-25 16:44:02 +00:00
rpcb_svc_4.c Replace Sun RPC license with a 3-clause BSD license, with the explicit 2013-11-25 16:44:02 +00:00
rpcb_svc_com.c rpcbind: use our roundup() macro when available through <sys/param.h>. 2016-05-02 02:15:05 +00:00
rpcb_svc.c Replace Sun RPC license with a 3-clause BSD license, with the explicit 2013-11-25 16:44:02 +00:00
rpcbind.8 Disable libwrap (TCP wrappers) support in rpcbind by default, introducing 2014-03-06 17:33:27 +00:00
rpcbind.c Staticize variables only used in rpcbind.c 2016-05-29 07:01:12 +00:00
rpcbind.h "source routing" in rpcbind 2016-01-06 00:00:11 +00:00
security.c Disable libwrap (TCP wrappers) support in rpcbind by default, introducing 2014-03-06 17:33:27 +00:00
util.c Fix rpcbind init after r300941. 2016-05-29 19:46:34 +00:00
warmstart.c Replace Sun RPC license with a 3-clause BSD license, with the explicit 2013-11-25 16:44:02 +00:00