]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fixed reference to incorrect variable if unknown host configured crash.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 8 Nov 2011 17:58:21 +0000 (17:58 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 8 Nov 2011 17:58:21 +0000 (17:58 +0000)
commitd63e58203a796bb59e20b51cb705254100621c9a
tree022eb225a0e84dcbd86db8c02a601eddea3bcd76
parentc17dc2fe78134d8ac5e24644dfa8f2a14814dce5
Fixed reference to incorrect variable if unknown host configured crash.

* Fixed a LOG_ERROR message referencing the config variable list v that
had previously been processed and became NULL.

* Added error return value set that was missing in an ast_append_ha()
error return path.

(closes issue ASTERISK-18743)
Reported by: Michele
Patches:
      issueA18743-fix_dynamic_exclude_static_bad_host_log.patch (license #5674) patch uploaded by Walter Doekes
Tested by: Michele

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@343851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
main/acl.c