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

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



#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



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