Browse Source

TT#36308 fix possible segfault due to missing lock

Change-Id: I61d411cd88494fa8c3c4197ec9e5a70a2231a325
changes/17/21117/1
Richard Fuchs 8 years ago
parent
commit
2c5a358e1c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/media_socket.c

+ 2
- 0
daemon/media_socket.c View File

@ -1529,7 +1529,9 @@ static void media_packet_kernel_check(struct packet_handler_ctx *phc) {
return;
}
mutex_lock(&phc->mp.stream->in_lock);
kernelize(phc->mp.stream);
mutex_unlock(&phc->mp.stream->in_lock);
}


Loading…
Cancel
Save