mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-15 03:42:03 +02:00
c4a059f1170eaf1ffb4ce18804944d744a73f6e8
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>
Description
Screen is a full-screen window manager that multiplexes a physical
terminal between several processes, typically interactive shells
Languages
C
76.7%
Roff
14.1%
PostScript
6%
Shell
1.4%
Makefile
1.1%
Other
0.7%