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
..
Makefile
Makefile.hash Fix building our terminals with a non standard NETBSDSRCDIR, PR lib/46793. 2013-01-24 14:17:40 +00:00
compile.c Whitespace 2013-06-07 13:16:18 +00:00
curterm.c - if we are freeing cur_term, set it to NULL. 2016-04-01 19:59:08 +00:00
genhash
genman Add descriptions for terminfo keys to term.h 2013-01-25 12:52:45 +00:00
genterms
genthash
setupterm.c Whitespace 2013-06-07 13:16:18 +00:00
shlib_version
term.c Always copy the area buffer, even when the length was the same 2015-11-26 01:03:22 +00:00
term.h Whitespace 2013-06-07 13:16:18 +00:00
term_private.h Move the strings vs long analysis to a private function, but allow 2013-01-24 10:41:28 +00:00
termcap.3 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
termcap.c - if we are freeing cur_term, set it to NULL. 2016-04-01 19:59:08 +00:00
termcap.h
termcap_map.c
terminfo.3 fix ti_puts prototype 2015-11-23 22:35:28 +00:00
terminfo.5.in Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
ti.c Whitespace 2013-06-07 13:16:18 +00:00
tparm.c We have the max length; use snprintf. 2015-11-25 18:46:59 +00:00
tputs.c Whitespace 2013-06-07 13:16:18 +00:00