diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-16 19:57:29 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-16 19:57:29 +0000 |
commit | 84e634918bdab5d42205863cb839ba4e71d1d5b4 (patch) | |
tree | fc4ac0973c982e30e816cd34599df15095b2b137 /res | |
parent | 518ec0d586d0779288c61a600645317a74cf45a1 (diff) |
Merged revisions 131361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r131361 | mmichelson | 2008-07-16 14:57:02 -0500 (Wed, 16 Jul 2008) | 9 lines
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/branches/1.6.0@131362 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_config_sqlite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c index a2c72d182..c1ee895bf 100644 --- a/res/res_config_sqlite.c +++ b/res/res_config_sqlite.c @@ -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; } |