Home | History | Annotate | Download | only in rpcbind
History log of /src/usr.sbin/rpcbind/util.c
RevisionDateAuthorComments
 1.24  17-Jun-2020  kamil Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users
via <rump/rump.h>.
 1.23  23-Jan-2019  christos - fix wrong size allocation that triggers buffer overflow
- remove unneeded casts and assertions
XXX: pullup-8
 1.22  03-Jan-2019  christos Handle memory allocations and error exit codes consistently.
 1.21  16-Aug-2017  christos branches: 1.21.2; 1.21.4;
merge FreeBSD changes:
- fixes CVE-2015-7236
- adds -h hostip to bind, -6 for only ipv6 access, -a for abort gracefully
- documents -w (warmstart)
XXX: should fix warmstart file to go to /var/run instead of /tmp
 1.20  08-Nov-2015  christos branches: 1.20.8;
merge RUMP changes.
 1.19  09-May-2015  dholland perror -> warn
 1.18  11-Mar-2015  christos CID 1018907: Freeifaddrs
 1.17  19-Oct-2013  christos use new scopeid functions
 1.16  18-Jan-2009  lukem branches: 1.16.8; 1.16.14;
fix -Wsign-compare issues
 1.15  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.14  27-Aug-2007  dsl branches: 1.14.6;
Depracate ND_DEBUG and BIND_DEBUG in favour of RPCBIND_DEBUG.
Add commented out entries for RPCBIND_DEBUG and SVC_RUN_DEBUG in Makefile.
 1.13  13-May-2007  christos branches: 1.13.4;
- WARNS = 4
- De __P
- While starting up, send messages to stderr not syslog.
- Fix error messages
- Don't play with umask and forget to restore it on error
 1.12  25-May-2006  christos Coverity CID 783: Add an assertion for a NULL deref.
 1.11  07-Jun-2005  lukem Support MKINET6=no building after the -Wuninitalized fix.
Noted by Jukka Salmi in email.
 1.10  02-Jun-2005  lukem appease gcc -Wuninitialized
 1.9  23-Sep-2002  mycroft null commit
 1.8  23-Sep-2002  itojun poll.h, not sys/poll.h
 1.7  30-Apr-2001  fvdl For the local case, return serv_uaddr in addrmerge, not the address
by which the client contacted rpcbind.

Also fix a missing \n in a debug printf.

From Martin Blapp, mb@imp.ch
 1.6  22-Apr-2001  fvdl For an AF_LOCAL connection, don't attempt to do the address merge dance.
While here, fix some memory leaks in error cases.
 1.5  10-Jan-2001  jmc Move routines which fill in tbuf in addrmerge(). The fixes in 1.4 pick a new
interface but don't fill in tbuf which results in clients getting garbage back
in part of the answer. This makes sure there's something in tbuf.

At some point this whole logic should be looked at, as just picking a random
local up interface for non-local requests doesn't feel right.
 1.4  03-Aug-2000  fvdl When merging addresses, and no direct match is found, pick the first
configured interface that is preferably not local or point to point.
This appears to be what Solaris does as well.
 1.3  22-Jun-2000  fvdl branches: 1.3.2;
Make sure to free the netconfig entry in addrmerge().
 1.2  04-Jun-2000  thorpej branches: 1.2.2;
Need <string.h> for LP64 systems.
 1.1  02-Jun-2000  fvdl rpcbind, the successor to portmap. Taken from Sun TI-RPC source code,
then modified. This still contains some ugly special casing for
procedures in the security section, but I haven't found a nicer way
so far.
 1.2.2.4  04-Sep-2002  itojun pullup usr.sbin/rpcbind/util.c 1.5 (bouyer)

Move routines which fill in tbuf in addrmerge(), making sure tbuf is always
initialised.
 1.2.2.3  01-May-2001  he Pull up revisions 1.6-1.7 (requested by fvdl):
Fix some minor security-related issues.
 1.2.2.2  05-Aug-2000  fvdl Pull up version 1.4:
When merging addresses, and no direct match is found, pick the first
configured interface that is preferably not local or point to point.
This appears to be what Solaris does as well.
 1.2.2.1  23-Jun-2000  hannken Pull up revision 1.3:
- Fix memory leaks.
 1.3.2.2  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.3.2.1  22-Jun-2000  minoura file util.c was added on branch minoura-xpg4dl on 2000-06-22 18:01:12 +0000
 1.13.4.1  06-Nov-2007  matt sync with HEAD
 1.14.6.1  18-May-2008  yamt sync with head.
 1.16.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.8.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.20.8.1  24-Jan-2019  martin Pull up following revision(s) (requested by christos in ticket #1167):

usr.sbin/rpcbind/util.c: revision 1.23

- fix wrong size allocation that triggers buffer overflow
- remove unneeded casts and assertions

XXX: pullup-8
 1.21.4.1  10-Jun-2019  christos Sync with HEAD
 1.21.2.2  26-Jan-2019  pgoyette Sync with HEAD
 1.21.2.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed