calendar, egrep, and unmonitored reads

Castor Fu castor at embezzle.stanford.edu
Sat Sep 29 08:49:11 AEST 1990


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 at fizzle.stanford.edu



More information about the Comp.unix.ultrix mailing list