[augeas-devel] [Augeas] #168: SIGSEGV in aug_match

Augeas trac at fedorahosted.org
Mon Dec 20 23:41:44 UTC 2010


#168: SIGSEGV in aug_match
-----------------------+----------------------------------------------------
  Reporter:  deepunix  |       Owner:  lutter
      Type:  defect    |      Status:  closed
  Priority:  major     |   Milestone:  next  
 Component:  Augeas    |     Version:  0.7.0 
Resolution:  fixed     |    Keywords:        
-----------------------+----------------------------------------------------
Changes (by lutter):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 As it turns out, the SEGV happens because we didn't recover properly from
 a syntax error in the regexp. This has been fixed in commit 7e0ada62

 If you are wondering, the issue is with {{{regexp('.*modrev: ${rev}')}}} -
 the '{' and '}' are metacharacters to indicate repetition; what you want
 is probably {{{regexp('.*modrev: \$\{rev\}')}}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/168#comment:1>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list