freebsd-nq/libexec
David Nugent 04a59e678a Fix memory leak caused by not freeing memory returned by cgetstr()
calls. The cost is a little more up-front memory allocation, but the
effect seems minimal.

Problem noticed-by: bde

Added syslog at LOG_ERR when referencing an unknown gettytab entry
and for other cgetent() failues (circular reference et al).

To be merged into 2.2 after a few days testing.
1997-05-11 10:25:38 +00:00
..
atrun Submitted by: Philippe Charnier <charnier@xp11.frmug.org> 1997-04-12 01:04:50 +00:00
bootpd Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
comsat Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +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 login_getclass() -> login_getpwclass(). 1997-05-10 19:02:03 +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 memory leak caused by not freeing memory returned by cgetstr() 1997-05-11 10:25:38 +00:00
lfs_cleanerd compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
mail.local compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
makekey Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
mknetid compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
named-xfer Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
rbootd compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
revnetgroup compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
rexecd Julian A's fix. Do chdir as user rather than as root. Fixes a minor NFS 1997-03-24 05:57:28 +00:00
rlogind compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +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 login_getclass() -> login_getpwclass(). 1997-05-10 19:02:03 +00:00
rtld-aout Fix a bug that caused the relocs for linker set members in shared 1997-04-30 05:18:08 +00:00
rtld-elf Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
talkd Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
telnetd compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +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 Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
ypxfr compare return value from getopt against -1 rather than EOF, per the final 1997-03-28 15:48:21 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
Makefile.inc BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00