[asterisk-bugs] [Asterisk 0011860]: [patch] misdn_cfg_get return uninitialized array if no default value

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jan 29 11:38:58 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11860 
====================================================================== 
Reported By:                IgorG
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11860
Category:                   Channels/chan_misdn
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 10679 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-29-2008 04:51 CST
Last Modified:              01-29-2008 11:38 CST
====================================================================== 
Summary:                    [patch] misdn_cfg_get return uninitialized array if
no default value
Description: 
While working with some new DSP code I found that I have trash in
faxdetect_context while it is not set in misdn.conf.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 01-29-08 11:38  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 100930

U   branches/1.4/channels/misdn_config.c

------------------------------------------------------------------------
r100930 | qwell | 2008-01-29 11:38:56 -0600 (Tue, 29 Jan 2008) | 6 lines

Initialize an array to 0s if config option not specified.

(closes issue http://bugs.digium.com/view.php?id=11860)
Patches:
      misdn_get_config.v1.diff uploaded by IgorG (license 20)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=100930 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-29-08 11:38  svnbot         Checkin                                      
01-29-08 11:38  svnbot         Note Added: 0081340                          
01-29-08 11:38  svnbot         Assigned To              crich => qwell      
======================================================================




More information about the asterisk-bugs mailing list