Icecast 2.4.3, bug in sources from git

Andrey Vasilkin <[email protected]> Mon, 3 Oct 2016 11:40:56 +1200
Newsgroups gmane.comp.audio.icecast.devel
Message-ID <[email protected]>
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: [email protected]
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/>

_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev