]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_hep: Fix crash when hep.conf not available
authorMatthew Jordan <mjordan@digium.com>
Thu, 3 Apr 2014 11:43:24 +0000 (11:43 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 3 Apr 2014 11:43:24 +0000 (11:43 +0000)
commit39df315d97c6b773204762e33b11cf4587421dfe
tree46f377f1432fe9372d84f814a596ba113b964153
parentabbe88ce1988766c0e33b5e7628288384cd72367
res_hep: Fix crash when hep.conf not available

Parts of res_hep properly checked for a valid configuration object before
attempting to access the configuration. A check, however, was missed when
a packet is sent. This patch fixes the crash caused by not checking if the
configuration object is valid.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@411668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_hep.c