Skip to content

Commit

Permalink
Fix deadlock on handle lock in janus.c (#3513)
Browse files Browse the repository at this point in the history
  • Loading branch information
spscream authored Feb 7, 2025
1 parent 83252ba commit 9b8dff7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/janus.c
Original file line number Diff line number Diff line change
Expand Up @@ -3930,6 +3930,7 @@ json_t *janus_plugin_handle_sdp(janus_plugin_session *plugin_session, janus_plug
JANUS_LOG(LOG_ERR, "[%"SCNu64"] Invalid msid on m-line #%d\n",
ice_handle->handle_id, m->index);
janus_sdp_destroy(parsed_sdp);
janus_mutex_unlock(&ice_handle->mutex);
return NULL;
}
if(medium != NULL && (medium->msid == NULL || strcasecmp(medium->msid, msid))) {
Expand Down

0 comments on commit 9b8dff7

Please sign in to comment.