[augeas-devel] [Augeas] #235: Augeas segfaults on null-tree file

Augeas trac at fedorahosted.org
Wed Nov 23 00:00:57 UTC 2011


#235: Augeas segfaults on null-tree file
----------------------+-----------------------------------------------------
  Reporter:  raphink  |       Owner:  lutter
      Type:  defect   |      Status:  new   
  Priority:  major    |   Milestone:  next  
 Component:  Augeas   |     Version:  devel 
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Comment (by lutter):

 I can't reproduce that. When I run (with latest git HEAD)
 {{{
 mkdir -p /tmp/augroot/etc/squirrelmail
 cat > /tmp/augroot/etc/squirrelmail/config.php <<EOF
 <?php
 ?>
 EOF
 ./src/augtool -e -I lenses/ --nostdinc -r /tmp/augroot/ <<EOF
 print /files
 print /augeas/files/etc/squirrelmail/config.php/lens
 EOF
 }}}

 the output is as expected {{{
 augtool> print /files
 /files
 /files/etc
 /files/etc/squirrelmail
 /files/etc/squirrelmail/config.php
 augtool> print /augeas/files/etc/squirrelmail/config.php/lens
 /augeas/files/etc/squirrelmail/config.php/lens = "@Phpvars"
 /augeas/files/etc/squirrelmail/config.php/lens/info =
 "lenses/phpvars.aug:98.17-.62:"
 augtool>
 }}}

 Is there another way to reproduce this ?

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




More information about the augeas-devel mailing list