zsh-workers
 help / color / mirror / code / Atom feed
From: Keith Bostic <bostic@bsdi.com>
To: zsh-workers@math.gatech.edu
Subject: bug fix for zsh 3.0.0
Date: Fri, 25 Oct 1996 10:23:44 -0400 (EDT)	[thread overview]
Message-ID: <199610251423.KAA03581@mongoose.bostic.com> (raw)

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.

--keith

Index: init.c
===================================================================
RCS file: /master/contrib/zsh-3.0.0/Src/init.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -r1.1.1.1 -r1.2
*** init.c	1996/10/02 17:10:14	1.1.1.1
--- init.c	1996/10/25 13:31:56	1.2
***************
*** 405,411 ****
  	errflag = 0;
  	return termok = TERM_BAD;
      } else {
! 	char tbuf[1024], *pp;
  	int t0;
  
  	termok = TERM_OK;
--- 405,411 ----
  	errflag = 0;
  	return termok = TERM_BAD;
      } else {
! 	char tbuf[4096], *pp;
  	int t0;
  
  	termok = TERM_OK;


             reply	other threads:[~1996-10-25 14:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-25 14:23 Keith Bostic [this message]
1996-10-25 18:41 ` Zoltan Hidvegi
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=199610251423.KAA03581@mongoose.bostic.com \
    --to=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).