bug-grep
[Top][All Lists]
Advanced

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

[bug #16904] grep -P segfault / error


From: anonymous
Subject: [bug #16904] grep -P segfault / error
Date: Wed, 21 Jun 2006 16:06:50 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

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

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