[PATCH] grep: fix an infinite loop in grep -w

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 7 14:00:45 UTC 2014


On Mon, Jan 6, 2014 at 8:06 PM, Bartosz Golaszewski
<bartekgola at gmail.com> wrote:
> This fixes a bug introduced by commit 414db791d0dc79905e5afe20e503941b8f9778cc
> where busybox would hang on grep -w ^ file.txt. Busybox will now produce
> output compatible with upstream grep in this case.

Applied a somewhat extended fix, thanks!


More information about the busybox mailing list