bug-grep
[Top][All Lists]
Advanced

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

Re: [PATCH] build: fix a subtly twisted "make distcheck" failure


From: arnold
Subject: Re: [PATCH] build: fix a subtly twisted "make distcheck" failure
Date: Wed, 6 Jun 2012 06:53:14 GMT

Hi Paul.

> On 06/05/2012 03:35 PM, Paolo Bonzini wrote:
> > What if the regex matches \0?
>
> I'm thinking to change the default behavior of grep,
> so that \0 is treated as if it ended a line (like
> newline) when reading binary files.  This will be
> more useful in practice, not least because it fixes
> the denial-of-service problem.  POSIX allows this.

Please remember that for gawk dfa.c needs to continue to be able
to match '\0'.

(There's an issue related to that which I need to discuss with Paolo,
off list. Will try to get to it soon. :-)

Thanks,

Arnold



reply via email to

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