[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18266: grep -P and invalid exits with error
From: |
Santiago |
Subject: |
bug#18266: grep -P and invalid exits with error |
Date: |
Thu, 28 Aug 2014 22:47:54 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
El 16/08/14 a las 11:36, Paul Eggert escribió:
> Santiago wrote:
> >Another solution would be to don't check if binary files are valid
> >(passing PCRE_NO_UTF8_CHECK to pcre_exec), but I don't know if that'd
> >avoid security holes
>
> It wouldn't. (We already tried it.)
>
Another try. This patch is by far more efficient.
With the previous patch #1:
% time grep -P faz /usr/bin/*
...
grep: /usr/bin/X11: Es un directorio
grep -P faz /usr/bin/* 519,78s user 0,32s system 99% cpu 8:41,19 total
With this one:
% time src/grep -P faz /usr/bin/*
src/grep -P faz /usr/bin/* 7,36s user 0,33s system 99% cpu 7,695 total
Cheers,
Santiago
grep-pcresearch-clean-utf8-2.patch
Description: Text Data
signature.asc
Description: Digital signature
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, (continued)
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Vincent Lefevre, 2014/08/14
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Paul Eggert, 2014/08/14
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Vincent Lefevre, 2014/08/14
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Paul Eggert, 2014/08/14
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Vincent Lefevre, 2014/08/14
- bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Paul Eggert, 2014/08/14
- bug#18266: Bug#758105: bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Santiago, 2014/08/16
- bug#18266: Bug#758105: bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Vincent Lefevre, 2014/08/16
- bug#18266: Bug#758105: bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Santiago, 2014/08/16
- bug#18266: Bug#758105: bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error, Paul Eggert, 2014/08/16
- bug#18266: grep -P and invalid exits with error,
Santiago <=
- bug#18266: grep -P and invalid exits with error, Eric Blake, 2014/08/29
- bug#18266: grep -P and invalid exits with error, Paul Eggert, 2014/08/29