Fix segmentation fault caused by NULL pointer access, REF 16142

The chan_voicemngr_get_active_subchannel() can return NULL. But the returned value is not checked by all calling functions. This can cause a segmentation fault by NULL pointer access.

  • Check the returned value in all places calling chan_voicemngr_get_active_subchannel()
  • Pick some related changes from devel branch
Edited by Yalu Zhang

Merge request reports

Loading