Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP client: fix possible inverted locking (clang sanitizer)
  • Loading branch information
perexg committed Mar 25, 2016
1 parent 6039b32 commit 27b866f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -1035,10 +1035,12 @@ satip_frontend_wake_other_waiting( satip_frontend_t *lfe )
lfe = TAILQ_FIRST(&sd->sd_serialize_queue);
if (lfe != NULL) {
tvhtrace("satip", "wake other waiting: %s", lfe->mi_name);
pthread_mutex_unlock(&sd->sd_tune_mutex);
pthread_mutex_lock(&lfe->sf_dvr_lock);
if (lfe->sf_running)
tvh_write(lfe->sf_dvr_pipe.wr, "o", 1);
pthread_mutex_unlock(&lfe->sf_dvr_lock);
return;
}
}
pthread_mutex_unlock(&sd->sd_tune_mutex);
Expand Down

0 comments on commit 27b866f

Please sign in to comment.