Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATH_MAX used dangerously -- do we care?
- X-seq: zsh-workers 1774
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: PATH_MAX used dangerously -- do we care?
- Date: Thu, 25 Jul 1996 22:58:21 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <960725135205.ZM14594@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Jul 25, 96 01:52:05 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author