[Icecast-dev] Icecast 2.4.3, bug in sources from git

Andrey Vasilkin digi at os2.snc.ru
Sun Oct 2 23:40:56 UTC 2016


File auth.c, function auth_stack_get():

...
     thread_mutex_unlock(&stack->lock);
     auth_addref(auth = stack->auth);
     thread_mutex_unlock(&stack->lock);
...

As I understand itmust be ( first call thread_mutex_unlock() -> 
thread_mutex_lock() ) :

...
     thread_mutex_lock(&stack->lock);
     auth_addref(auth = stack->auth);
     thread_mutex_unlock(&stack->lock);
...


-- 
Jabber: digi at frs.snc.ru
WorldTree radio <http://radio.frs.snc.ru:8000/WorldTree.m3u>
Donations are most welcome! 
<https://www.arcanoae.com/shop/os2-ports-and-applications-by-andrey-vasilkin/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast-dev/attachments/20161003/556f89f9/attachment.html>


More information about the Icecast-dev mailing list