bug-ncurses
[Top][All Lists]
Advanced

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

Re: parsing bug


From: Thomas Dickey
Subject: Re: parsing bug
Date: Thu, 21 Sep 2000 18:54:30 -0400
User-agent: Mutt/1.2.5i

On Thu, Sep 21, 2000 at 07:11:38PM -0300, Aaron Campbell wrote:
> $ uname -a
> OpenBSD killswitch 2.8 GENERIC#299 i386
> $ /usr/bin/tic /dev/zero
> Memory fault (core dumped) 
> $ /usr/bin/captoinfo /dev/zero
> Memory fault (core dumped)
> 
> bash$ uname -a
> Linux linux 2.2.17 #1 Fri Sep 8 15:49:43 ADT 2000 i686 unknown
> bash$ /usr/bin/tic /dev/zero      
> Segmentation fault (core dumped)
> bash$ /usr/bin/captoinfo /dev/zero
> Segmentation fault (core dumped)
> 
> As far as I can see, tic calls nc_read_entry_source, then that calls

...which can be fixed by doing an fstat/stat on the input stream to
ensure that it's really a file and not a device or directory (thanks).

> nc_parse_entry, etc. etc. Don't really feel like following the whole
> chain, thought I'd report it here instead. :)
> 
> Aaron
> 
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com


reply via email to

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