Files
asterisk/main
George Joseph 44aef0449a bridge_channel_write_frame: Check for NULL channel
There is a possibility, when bridge_channel_write_frame() is
called, that the bridge_channel->chan will be NULL.  The first
thing bridge_channel_write_frame() does though is call
ast_channel_is_multistream() which had no check for a NULL
channel and therefore caused a segfault. Since it's still
possible for bridge_channel_write_frame() to write the frame to
the other channels in the bridge, we don't want to bail before we
call ast_channel_is_multistream() but we can just skip the
multi-channel stuff.  So...

bridge_channel_write_frame() only calls ast_channel_is_multistream()
if bridge_channel->chan is not NULL.

As a safety measure, ast_channel_is_multistream() now returns
false if the supplied channel is NULL.

ASTERISK-29379
Reported-by: Vyrva Igor
Reported-by: Ross Beer

Change-Id: Idfe62dbea8c69813ecfd58e113a6620dc42352ce
2021-04-05 07:52:41 -05:00
..
2019-08-01 15:31:48 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2020-04-06 10:23:20 -05:00
2019-08-01 15:31:48 -06:00
2021-03-10 11:08:33 -06:00
2020-10-02 12:58:18 -05:00
2021-01-04 05:00:58 -06:00
2020-06-10 09:33:28 -05:00
2020-08-18 05:16:43 -05:00
2021-01-04 05:00:58 -06:00
2020-06-10 09:33:28 -05:00
2017-12-20 12:40:01 -05:00
2020-10-02 12:58:18 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00