On Tue,  5 Nov 2019 15:32:10 +0000
Marcin Cieślak <sa...@saper.info> wrote:

> From: Christoph Moench-Tegeder <c...@freebsd.org>
> 
> 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 <sa...@saper.info>

Thanks, applied to master (and screen-v4 version to screen-v4)

Reply via email to