bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22181: endless loop in grep 2.22


From: Jim Meyering
Subject: bug#22181: endless loop in grep 2.22
Date: Fri, 18 Dec 2015 22:24:14 -0800

On Fri, Dec 18, 2015 at 1:50 PM, Paul Eggert <address@hidden> wrote:
> 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 :-).

:-)

Here is the patch I expect to push tomorrow. I am using
the occasion of this reply to close the bug report by inserting
"-done" in the bug email address. Any reply will still go both to
the mailing list and to the bug-tracking system.

Attachment: 0001-grep-oP-don-t-infloop-when-processing-invalid-UTF8-p.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]