From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: schaefer@nbn.com
Cc: zsh-workers@math.gatech.edu
Subject: Re: PATH_MAX used dangerously -- do we care?
Date: Thu, 25 Jul 1996 22:58:21 +0200 (MET DST) [thread overview]
Message-ID: <199607252058.WAA31016@bolyai.cs.elte.hu> (raw)
In-Reply-To: <960725135205.ZM14594@candle.brasslantern.com> from Bart Schaefer at "Jul 25, 96 01:52:05 pm"
> Yes, decimal digits ARE what's being written into the buffers in the two
> cases where I made the change. Compare lines 651-656, which I changed,
> to lines 708-711, which I did not change. Why should DIGBUFSIZE be used
> on 708 but not on 651?
Look at that:
case PM_INTEGER:
convbase(s = buf, v->pm->gets.ifn(v->pm), v->pm->ct);
break;
convbase can overflow a DIGBUFSIZE'ed buf.
Zoltan
next prev parent reply other threads:[~1996-07-25 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-07 16:34 Bart Schaefer
1996-07-09 0:40 ` Zoltan Hidvegi
1996-07-24 18:43 ` Bart Schaefer
1996-07-25 20:13 ` Zoltan Hidvegi
1996-07-25 20:52 ` Bart Schaefer
1996-07-25 20:58 ` Zoltan Hidvegi [this message]
1996-07-25 21:12 ` Bart Schaefer
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=199607252058.WAA31016@bolyai.cs.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=schaefer@nbn.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).