freebsd-nq/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 Do setlogin() before changing uid/gid, since 1997-09-08 23:39:48 +00:00
bootpd Fix description of -t option. 1997-08-24 18:21:34 +00:00
comsat Allow backspace too 1997-09-15 00:42:04 +00:00
fingerd compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
ftpd Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
getNAME compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
getty Fix botch with escaped characters, go back to using cgetstr(). 1997-09-03 01:05:36 +00:00
lfs_cleanerd Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
mail.local Makefile.dist is a non-bmaked version of Makefile. We don't want it. 1997-08-02 18:52:16 +00:00
makekey Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
mknetid Small tweak to the group parsing code to stop it from core dumping 1997-05-21 15:10:42 +00:00
named-xfer Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
rbootd Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset, 1997-06-29 19:50:26 +00:00
revnetgroup Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
rexecd Import Lite2's src/libexec, except for makekey (which was spammed 1997-08-02 18:46:42 +00:00
rlogind Changes for the new KTH Kerberos. 1997-09-28 08:36:04 +00:00
rpc.rquotad Change a reference to NetBSD to FreeBSD. 1997-03-14 06:09:04 +00:00
rpc.rstatd Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
rpc.rusersd Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
rpc.rwalld Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
rpc.sprayd Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
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 spelling corrections. 1997-09-13 16:01:53 +00:00
talkd Import Lite2's src/libexec, except for makekey (which was spammed 1997-08-02 18:46:42 +00:00
telnetd There is a clear separation of the crypto telnet and the non-crypto telnet. 1997-09-28 08:40:54 +00:00
tftpd compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
uucpd Ensure that the remote host name is Nul terminated. 1997-04-08 20:36:36 +00:00
xtend Submitted by: Gene Stark and Robert Sexton (robert@kudra.com) 1997-06-24 03:52:15 +00:00
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 BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00