From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: bostic@bsdi.com (Keith Bostic)
Cc: zsh-workers@math.gatech.edu
Subject: Re: bug fix for zsh 3.0.0
Date: Fri, 25 Oct 1996 20:41:24 +0200 (MET DST) [thread overview]
Message-ID: <199610251841.UAA02351@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199610251423.KAA03581@mongoose.bostic.com> from Keith Bostic at "Oct 25, 96 10:23:44 am"
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
next prev parent reply other threads:[~1996-10-25 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-25 14:23 Keith Bostic
1996-10-25 18:41 ` Zoltan Hidvegi [this message]
1996-10-25 20:10 Keith Bostic
1996-10-25 20:29 ` Zoltan Hidvegi
1996-10-25 20:39 Keith Bostic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199610251841.UAA02351@bolyai.cs.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=bostic@bsdi.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).