]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge.c: Fixed null pointer exception
authorsungtae kim <pchero21@gmail.com>
Fri, 29 May 2020 01:03:24 +0000 (03:03 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 5 Jun 2020 10:33:15 +0000 (05:33 -0500)
commitd3fdd4c41b5a0b19cef7c205b2e837e325692be4
tree3cf95bedf41fdaa9f231e7f5b8ad8c394a8a284d
parent6b899661eff0297fc10408b9a659d0828c9c656b
bridge.c: Fixed null pointer exception

If the bridge show all command could not get the bridge snapshot, it causes null pointer exception.
Fixed it to check the snapshot is null.

ASTERISK-28920

Change-Id: I3521fc1b832bfc69644d0833f2c78177e1e51f58
main/bridge.c