bug-cfengine
[Top][All Lists]
Advanced

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

[Bug #2753] Segmentation fault unsing BreakIfLineMatches on empty file.


From: nobody
Subject: [Bug #2753] Segmentation fault unsing BreakIfLineMatches on empty file.
Date: Sat, 08 Mar 2003 21:09:55 -0500

=================== BUG #2753: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2753&group_id=3825

Submitted by: radioman                Project: cfengine                     
Submitted on: Sun 03/09/03 at 02:09
Category:  Source Code                Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         
Release:  2.0.5                       Platform:  GNU/Linux                  
Platform details (version, distribution):  Debian woody

Summary:  Segmentation fault unsing BreakIfLineMatches on empty file.

Original Submission:  if /tmp/test does not exists this config genereats 
Segmentation fault.                                                             
 
                                                                                
                                                    
I tryed using -d -v and came to the conclution that if the file is empty        
                                                    BreakIfLineMatches 
generates the Segmentation fault.                                               
                                 
                                                                                
                                                    
The configuration giving problem:                                               
                                                    
                                                                                
                                                    
control:                                                                        
                                                    
 actionsequence  = ( editfiles )                                                
       
                                                                                
                                                    
editfiles:                                                                      
                                                    
        { /tmp/test                                                             
                                                    
                AutoCreate                                                      
                                                    
                BreakIfLineMatches      "test"                                  
                                                    
                EmptyEntireFilePlease                                           
                                                    
                AppendIfNoSuchLine      "test2"                                 
                                                    
        }

I am running Debian Woody i386.                                              



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2753&group_id=3825




reply via email to

[Prev in Thread] Current Thread [Next in Thread]