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: <181@UNIX386.Convergent.COM> Date: 20 Sep 88 15:40:35 GMT Organization: Convergent Technologies, San Jose, CA Lines: 18 [ 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