On Tue, 5 Nov 2019 15:32:10 +0000 Marcin Cieślak <[email protected]> wrote:
> From: Christoph Moench-Tegeder <[email protected]> > > 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 <[email protected]> Thanks, applied to master (and screen-v4 version to screen-v4)
