Subject: bug#22181: endless loop in grep 2.22

From: Paul Eggert <[email-masked]>
Date: Fri, 18 Dec 2015 13:50:55 -0800

On 12/18/2015 12:52 PM, Jim Meyering wrote:
> And here is the patch that will form the basis of a complete fix: 

Thanks for looking into that; you beat me to it!

POSIX says grep has undefined behavior when given an encoding error, and 
looping forever sure fills the bill :-).