[asterisk-bugs] [Asterisk 0011387]: Loading of res_config_pgsql will crash on dbhost/dbsock combination

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 28 01:44:07 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11387 
====================================================================== 
Reported By:                xrg
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11387
Category:                   Resources/res_config_pgsql
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-27-2007 11:56 CST
Last Modified:              11-28-2007 01:44 CST
====================================================================== 
Summary:                    Loading of res_config_pgsql will crash on
dbhost/dbsock combination
Description: 
A trivial logic error exists wrt. res_pgsql.conf parsing:
When dbhost is not set, conditional will try to copy "s" which may have
been NULL (when dbport=NULL)!




====================================================================== 

---------------------------------------------------------------------- 
 xrg - 11-28-07 01:44  
---------------------------------------------------------------------- 
You may contact me. There is some minor objections I have with that
license. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-28-07 01:44  xrg            Note Added: 0074461                          
======================================================================




More information about the asterisk-bugs mailing list