[asterisk-bugs] [Asterisk 0011573]: segfault in devicestate.c

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Dec 16 11:55:27 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11573 
====================================================================== 
Reported By:                irroot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11573
Category:                   Core/Channels
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-16-2007 11:48 CST
Last Modified:              12-16-2007 11:55 CST
====================================================================== 
Summary:                    segfault in devicestate.c
Description: 
not sure what conditions caused it but it did happen and here is a quick
fix to stop it happening again
====================================================================== 

---------------------------------------------------------------------- 
 irroot - 12-16-07 11:55  
---------------------------------------------------------------------- 
ast_device_state_changed_literal returns int but yet the return value does
not seem to be used at all is it not more correct to use void ??

i set it to return -1 in the event of a null buf 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-16-07 11:55  irroot         Note Added: 0075523                          
======================================================================




More information about the asterisk-bugs mailing list