Path: utzoo!attcan!uunet!lll-winken!uwm.edu!ux1.cso.uiuc.edu!kbesrl From: kbesrl@ux1.cso.uiuc.edu (Jim Thompson ) Newsgroups: comp.unix.ultrix Subject: Re: calendar, egrep, and unmonitored reads Message-ID: <1990Sep29.031633.5070@ux1.cso.uiuc.edu> Date: 29 Sep 90 03:16:33 GMT References: Distribution: comp Organization: University of Illinois at Urbana Lines: 21 castor@embezzle.stanford.edu (Castor Fu) writes: >I discovered today, (maybe you did to. . . . ) that the stock >egrep on ultrix 3.1 has a small (256??) limit on it's pattern buffer. >Normally this is not a huge problem, but today, calendar generated >388 characters of patterns and egrep managed to stomp on itself in >a way which caused it to use memory until it exhausted itself. >Hopefully no one has egrep running in some setuid shellscript where >the pattern file is mungable. . . . . >I guess I will modify calendar to use GNU egrep. . . . > castor fu > castor@fizzle.stanford.edu I discovered the same problem today. If you find a solution, please let me know. Thanks. -- sudha@kbesrl.me.uiuc.edu