Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug fix for zsh 3.0.0
- X-seq: zsh-workers 2281
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: bostic@xxxxxxxx (Keith Bostic)
- Subject: Re: bug fix for zsh 3.0.0
- Date: Fri, 25 Oct 1996 20:41:24 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199610251423.KAA03581@xxxxxxxxxxxxxxxxxxx> from Keith Bostic at "Oct 25, 96 10:23:44 am"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
Keith Bostic wrote:
> Some termcap databases (e.g., the one distributed with ncurses) have
> entries larger than 1K. When combined with termcap library code that
> doesn't limit the length of the copied record to 1K (e.g., old 4BSD
> implementations) it can drop core.
That can only happen if a single capability string is bigger thatn 1024
bytes. Did you really see a coredump from that part of the code or you
just see it as a theoretical bug?
It is true that if the termcap database is longer that 2048 bytes and
tgetent does not accept NULL to automatically allocate buffer.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author