[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
Tue Nov 27 17:34:52 CST 2007


The following issue has been UPDATED. 
====================================================================== 
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-27-2007 17:34 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)!




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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-27-07 17:34  putnopvut      Additional Information Updated                   

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




More information about the asterisk-bugs mailing list