]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_confbridge: Fix NULL check in action_kick_last.
authorCorey Farrell <git@cfware.com>
Tue, 9 Jan 2018 00:47:38 +0000 (19:47 -0500)
committerCorey Farrell <git@cfware.com>
Tue, 9 Jan 2018 00:58:33 +0000 (18:58 -0600)
commitc67eb7031b3a58ff5ce472eee9519b566a222e41
tree9095a7ab1c09d77c17fbf1202a59db0aebd8a539
parent7cc614d22363398747bd2c1aa81d3422cf2d07c5
app_confbridge: Fix NULL check in action_kick_last.

The check for last_user == NULL needs to happen before we dereference
the variable, previously it was possible for us to check flags of a NULL
last_user.

Change-Id: I274f737aa8af9d2d53e4a78cdd7ad57561003945
apps/app_confbridge.c