Christoph Moench-Tegeder c4a059f117 Fix coredump on xterm and rxvt
Here's the rub: with TERM=xterm (or rxvt, for that matter), Km
("key_mouse", "Mouse event has occured") is not set (and therefore
NULL), but InitTermcap() (termcap.c:230) happily tries to strdup() that,
which gets us that segfault.

As a band-aid, catch that NULL and don't strdup().

Signed-off-by: Marcin Cieślak <saper@saper.info>
2019-12-28 13:43:34 +01:00
2005-12-21 11:01:20 +00:00
2019-12-28 13:43:34 +01:00
2005-12-15 16:11:20 +00:00
Description
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells
9.9 MiB
Languages
C 76.7%
Roff 14.1%
PostScript 6%
Shell 1.4%
Makefile 1.1%
Other 0.7%