Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!voder!pyramid!ctnews!UNIX386!mark
From: mark@UNIX386.Convergent.COM (Mark Nudelman)
Newsgroups: comp.sources.bugs
Subject: Bug in "less"
Message-ID: <179@UNIX386.Convergent.COM>
Date: 19 Sep 88 20:53:59 GMT
Organization: Convergent Technologies, San Jose, CA
Lines: 16


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