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

Slava Zanko slavazanko at gmail.com
Tue Dec 2 21:54:09 UTC 2008


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)

http://mc.redhat-club.org/trac/changeset/170

Fixed. Thanks.

WBR, Slavaz





More information about the mc-devel mailing list