[asterisk-bugs] [Asterisk 0013092]: [patch] don't dereference null in an error handling path

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 16 14:50:07 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13092 
====================================================================== 
Reported By:                gknispel_proformatique
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13092
Category:                   Resources/res_config_sqlite
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 131207 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-16-2008 10:09 CDT
Last Modified:              07-16-2008 14:49 CDT
====================================================================== 
Summary:                    [patch] don't dereference null in an error handling
path
Description: 
in check_vars() NULL is dereferenced if dbfile is NULL
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-16-08 14:49  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 131361

U   trunk/res/res_config_sqlite.c

------------------------------------------------------------------------
r131361 | mmichelson | 2008-07-16 14:49:21 -0500 (Wed, 16 Jul 2008) | 9
lines

Don't try to dereference the dbfile pointer if
we know that it's NULL.

(closes issue http://bugs.digium.com/view.php?id=13092)
Reported by: gknispel_proformatique
Patches:
      trunk_sqlite_check_vars_null.patch uploaded by gknispel (license
261)


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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-16-08 14:49  svnbot         Note Added: 0090355                          
======================================================================




More information about the asterisk-bugs mailing list