Summary: | ASTERISK-12394: [patch] don't dereference null in an error handling path | ||
Reporter: | Guillaume Knispel (gknispel_proformatique) | Labels: | |
Date Opened: | 2008-07-16 10:09:58 | Date Closed: | 2008-07-16 14:51:06 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_config_sqlite |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) trunk_sqlite_check_vars_null.patch | |
Description: | in check_vars() NULL is dereferenced if dbfile is NULL | ||
Comments: | By: Digium Subversion (svnbot) 2008-07-16 14:49:52 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 ASTERISK-12394) 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 |