buggrep - Bugs: bug #16904, grep -P segfault / error

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16904: grep -P segfault / error

Submitted by:  None
Submitted on:  Wed 21 Jun 2006 04:06:49 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 17 Mar 2010 09:00:08 AM UTC, comment #2:

Could not reproduce it even before commit a14685c (fix cross-line matching in PCRE backend, 2010-03-04). However, matching with \n won't work by design after that commit, so it is definitely fixed now.

Paolo Bonzini <bonzini>
Wed 17 Mar 2010 08:33:29 AM UTC, comment #1:

I think this is fixed in current grep, but I am not sure. Can anyone help reproducing this?

Paolo Bonzini <bonzini>
Wed 21 Jun 2006 04:06:49 PM UTC, original submission:

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.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bonzini (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Mar 2010 09:00:08 AM UTCbonziniOpen/ClosedOpen=>Closed
    Wed 17 Mar 2010 09:00:07 AM UTCbonziniStatusNeed Info=>Fixed
    Wed 17 Mar 2010 08:33:29 AM UTCbonziniStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1