|
From: | Paul Eggert |
Subject: | bug#22181: endless loop in grep 2.22 |
Date: | Fri, 18 Dec 2015 13:50:55 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
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 :-).
[Prev in Thread] | Current Thread | [Next in Thread] |