screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [screen-devel] [PATCH] Fix coredump on xterm and rxvt


From: Amadeusz Sławiński
Subject: Re: [screen-devel] [PATCH] Fix coredump on xterm and rxvt
Date: Sat, 28 Dec 2019 14:01:49 +0100

On Tue,  5 Nov 2019 15:32:10 +0000
Marcin Cieślak <address@hidden> wrote:

> From: Christoph Moench-Tegeder <address@hidden>
> 
> 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 <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]