HardenedBSD/libexec
Bill Paul 23677e98fe Putting records with zero-length keys into a Berkeley DB hash database
is asking for trouble (sequential database enumerations can get caught
in an infinite loop). The yp_mkdb(8) utility avoids putting such records
into a database, but ypxfr does not. Today I got bit by a NULL entry in
one of the amd maps on my network, which is served by a SunOS master.
The map was transfered successfully to my FreeBSD slave, but attempting
to dump it with ypcat(1) caused ypserv(8) to transmit the same record
over and over again, making the map appear to be infinitely large. I
finally noticed the problem while testing a new version of amd under
development at the Columbia CS department, which began gobbling up insane
amounts of memory while trying to swallow the map.

To deal with this problem, I'm modifying ypxfr to watch for records
with zero-length keys and turn them into something less destructive
before writing them to the database.
1997-09-30 18:08:11 +00:00
..
atrun
bootpd
comsat
fingerd
ftpd Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
getNAME
getty
lfs_cleanerd Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
mail.local
makekey
mknetid
named-xfer
rbootd
revnetgroup Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
rexecd
rlogind Changes for the new KTH Kerberos. 1997-09-28 08:36:04 +00:00
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd Changes for the new KTH Kerberos4. 1997-09-28 08:38:04 +00:00
rtld-aout Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
rtld-elf
talkd
telnetd There is a clear separation of the crypto telnet and the non-crypto telnet. 1997-09-28 08:40:54 +00:00
tftpd
uucpd
xtend
ypxfr Putting records with zero-length keys into a Berkeley DB hash database 1997-09-30 18:08:11 +00:00
Makefile Changes for KTH KerberosIV. 1997-09-28 09:07:34 +00:00
Makefile.inc