URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16904>

                 Summary: grep -P segfault / error
                 Project: grep
            Submitted by: None
            Submitted on: Wednesday 06/21/2006 at 16:06 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

using grep 2.5.1 

Have two symptoms that occur when grep encounters a pattern that spans the
x8000 byte boundary in a text file.  Either grep will not report a valid
match, and proceeds to output the next match(es), or a segfault is produced.

The command was similar to the following:

grep -P "phrase1.*\n.*\n.*\n.*phrase2"

When the first eol characters are before the x8000 boundary, and the last eol
in the pattern is after x7FFF, one of the two errors occur.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16904>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to