[augeas-devel] [Augeas] #54: Augeas 0.4.1 segfaults with URI regexp

Augeas trac at fedorahosted.org
Sat Mar 28 14:25:20 UTC 2009


#54: Augeas 0.4.1 segfaults with URI regexp
---------------------+------------------------------------------------------
 Reporter:  raphink  |       Owner:  lutter
     Type:  defect   |      Status:  new   
 Priority:  major    |   Milestone:  next  
Component:  Augeas   |     Version:  0.4.1 
 Keywords:           |  
---------------------+------------------------------------------------------
 The following regexp makes augparse segfault in Augeas 0.4.1 (haven't
 tried with 0.5.0) :

 {{{
 let uri =
          [ label "scheme" . store /[^:\/?#\n]+/ . Sep.colon ]?
        . [ Util.del_str "://" . ( label "authority" . store /[^\/?#\n]+/
 )? ]?
        . [ label "path" . store /[^?#\n]+/ ]?
        . [ Util.del_str "?" . ( label "query" . store /[^#\n]+/ )? ]?
        . [ Util.del_str "#" . ( label "fragment" . store /[^\n]+/ )? ]?
 }}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/54>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list