#149: Segfault when editing php.ini on fedora 14
-------------------------+--------------------------------------------------
  Reporter:  fgiraldeau  |       Owner:  fgiraldeau
      Type:  defect      |      Status:  assigned  
  Priority:  major       |   Milestone:  next      
 Component:  Augeas      |     Version:  0.7.0     
Resolution:              |    Keywords:            
-------------------------+--------------------------------------------------
Changes (by fgiraldeau):

  * owner:  lutter => fgiraldeau
  * status:  new => assigned

Comment:

 This bug occur when comiling augeas with CFLAG="-02" with gcc-4.5 on Intel
 32 bits. The compiler optimize the variable struct dict *dict and then the
 function fail by dereferencing the pointer.

 As a workarround, the provided patch copies the dict into a tmp variable,
 then use the address of this new variable.

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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to