dect
/
asterisk
Archived
13
0
Fork 0

Don't try to dereference the dbfile pointer if

we know that it's NULL.

(closes issue #13092)
Reported by: gknispel_proformatique
Patches:
      trunk_sqlite_check_vars_null.patch uploaded by gknispel (license 261)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131361 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2008-07-16 19:57:02 +00:00
parent 1a7523608c
commit 8c44f0b48c
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ static int set_var(char **var, const char *name, const char *value)
static int check_vars(void)
{
if (!dbfile) {
ast_log(LOG_ERROR, "Undefined parameter %s\n", dbfile);
ast_log(LOG_ERROR, "Required parameter undefined: dbfile\n");
return 1;
}