freebsd-skq/libexec/getty
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
..
chat.c Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
extern.h Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
getty.8 Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
gettytab.5 Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
gettytab.h Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
init.c Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
main.c Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
pathnames.h Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
subr.c Fix memory leak caused by not freeing memory returned by cgetstr() 1997-05-11 10:25:38 +00:00
ttydefaults.c Import the 4.4Lite2 getty into a vendor branch. 1996-04-07 10:28:57 +00:00
ttys.5 Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etc 1997-04-13 21:29:50 +00:00