Bug#2047: grep segfaults when abused
PACKAGE: grep
VERSION: 2.0-3
This might qualify as unwarranted abuse. However, since I stumbled
across it, I thought I'd report it.
Script started on Mon Dec 18 21:15:01 1995
root:/root# grep trash /proc/kcore
Segmentation fault (core dumped)
root:/root# exit
Script done on Mon Dec 18 21:15:19 1995
/proc/kcore is 16MB on my system. However, this doesn't seem to be
due to file size (I tried "cat /usr/bin/* | od | grep trash" and didn't
provoke a segfault).
mitchell@mdd.comm.mot.com (Bill Mitchell)
Reply to: