buggrep - Bugs: bug #33547, Core dump with pattern '(^| )*(...

 
 

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

bug #33547: Core dump with pattern '(^| )*( |$)'

Submitted by:  Raymond Russell <raymondrussell>
Submitted on:  Mon 13 Jun 2011 03:41:18 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jim Meyering <meyering>
Open/Closed: Closed

Sun 19 Jun 2011 01:52:39 PM UTC, comment #1:

Thanks for the report.
Fixed in git with this:

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=0b91d6928e9d098d3746ce9f4bb4160a2e685f5c

Jim Meyering <meyering>
Project AdministratorIn charge of this item.
Mon 13 Jun 2011 03:41:18 AM UTC, original submission:

grep-2.8 dumps a core when given this pattern:

$ grep -Eq '(^| )*( |$)'

This is a build from source on linuxfromscratch, and was configured with the following options:

CC='gcc -m64' CXX='g++ -m64' ./configure --prefix=/usr --bindir=/bin

Please let me know if you need any more details.

Raymond Russell <raymondrussell>

 

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 (Updated the item)
  • -unavailable- added by meyering (Posted a comment)
  • -unavailable- added by raymondrussell (Submitted the item)
  •  

    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
    Tue 28 Jun 2011 08:39:13 AM UTCbonziniOpen/ClosedOpen=>Closed
    Sun 19 Jun 2011 01:52:39 PM UTCmeyeringStatusNone=>Fixed
      Assigned toNone=>meyering

    Back to the top


    Powered by Savane 3.1-cleanup1