bug in "less"
Mark Nudelman
mark at UNIX386.Convergent.COM
Wed Sep 21 01:40:35 AEST 1988
[ Sorry if this is a duplicate message; I had some trouble posting
this the first time. ]
There is a rather serious bug in the version of "less" which was recently
posted to comp.sources.unix. In the file "os.c", line 204 reads:
cmd = calloc(strlen(p)+12);
This should be changed to:
cmd = calloc(strlen(p)+strlen(filename)+12, sizeof(char));
This bug was due to a last minute change, and I apologize for any
inconvenience this may have caused.
Mark Nudelman
{sun,decwrl,ihnp4!hplabs}!pyramid!ctnews!mitisft!markn
More information about the Comp.sources.bugs
mailing list