Fix a segmentation fault when using an extension with CID matching and no CID.
authorJonathan Rose <jrose@digium.com>
Fri, 11 Nov 2011 15:47:39 +0000 (15:47 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 11 Nov 2011 15:47:39 +0000 (15:47 +0000)
commit8d994bed55d1bd742e43fd5cf8fef6858e557450
tree85a03a7888a7ad1a0cabf85ab7d33a39993b0610
parent751488b84cc18f0a93cd5ab8875ec3c348a1a408
Fix a segmentation fault when using an extension with CID matching and no CID.

Attempting to call an extension which used Caller ID matching with a channel that
has an empty caller id string would result in a segmentation fault.

(closes issue ASTERISK-18392
Reported By: Ales Zelenik
........

Merged revisions 344608 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 344609 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@344610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c