bug-grep
[Top][All Lists]
Advanced

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

bug#17245: GREP BUG: grep -P and binary files


From: Norihiro Tanaka
Subject: bug#17245: GREP BUG: grep -P and binary files
Date: Wed, 16 Apr 2014 08:48:44 +0900

I confirmed that this bug is also avoided by re-compiling PCRE with
--enable-git option.

PCRE without --enable-git:
$ env LC_ALL=en_US.utf8 src/grep -P '.?ma' test-image.png
Segmentation fault (core dumped)

PCRE with --enable-git:
$ env LC_ALL=en_US.utf8 src/grep -P '.?ma' test-image.png
Binary file ../test-image.png matches






reply via email to

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