Re: [bug #24986] crash at startup because of using uninitialized variable

Zdenek Sojka wrote:

> mc crashes at startup (SIGSEGV) on my system after uninitialized variable is
> passed to tgetstr() in tty.c : 230.
> Initializing that variable to NULL fixes the problem for me.
> I will provide any further info if needed.
> Attached - patch and showcase (forcing non-NULL value to crash)
> (diffs against currect CVS)

Fixed. Thanks.

WBR, Slavaz

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