Fix a crash by checking the proper pointer for validity before deferencing it.
authorMatthew Nicholson <mnicholson@digium.com>
Thu, 20 Aug 2009 20:29:32 +0000 (20:29 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Thu, 20 Aug 2009 20:29:32 +0000 (20:29 +0000)
commit53fd27c005f4872621b2e46d152b3a5e5299445d
tree2c4d322dfae2526887b143fc84149107afe1ae30
parentf6a10614a406f3c04c68162cfd40d36801fa1585
Fix a crash by checking the proper pointer for validity before deferencing it.

(closes issue #15751)
Reported by: atis
Patches:
      ast_bridge_call_peer_cdr.patch uploaded by atis (license 242)

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