mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 12:14:13 +00:00
Fix off-by-1 read err in switch_xml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12628 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
16009c5094
commit
53ab0e2aef
6 files changed
+9
-11
No files matched your search
@@ -2922,7 +2922,7 @@ static switch_status_t conf_api_sub_kick(conference_member_t *member, switch_str
|
||||
{
|
||||
switch_event_t *event;
|
||||
|
||||
if (member == NULL)
|
||||
if (member == NULL || switch_test_flag(member, MFLAG_NOCHANNEL))
|
||||
return SWITCH_STATUS_GENERR;
|
||||
|
||||
switch_mutex_lock(member->control_mutex);
|
||||
|
||||
Reference in new issue
Block a user