NetBSD/lib/libterminfo
christos 8b22ec00d4 - if we are freeing cur_term, set it to NULL.
- preserve and free "last" properly.

$ cat foo.c
#include <stdio.h>
#include <termcap.h>

int
main(void)
{
	tgetent(NULL, "dumb");
	tgetent(NULL, "network");
	tgetflag("so");
	return 0;
}
$ cc foo.c -lterminfo
$ MALLOC_OPTIONS=J ./a.out
Boom.

XXX: pullup-7
2016-04-01 19:59:08 +00:00
..
compile.c
curterm.c - if we are freeing cur_term, set it to NULL. 2016-04-01 19:59:08 +00:00
genhash
genman
genterms
genthash
Makefile
Makefile.hash
setupterm.c
shlib_version
term_private.h
term.c Always copy the area buffer, even when the length was the same 2015-11-26 01:03:22 +00:00
term.h
termcap_map.c
termcap.3
termcap.c - if we are freeing cur_term, set it to NULL. 2016-04-01 19:59:08 +00:00
termcap.h
terminfo.3 fix ti_puts prototype 2015-11-23 22:35:28 +00:00
terminfo.5.in
ti.c
tparm.c We have the max length; use snprintf. 2015-11-25 18:46:59 +00:00
tputs.c