xiph / Icecast-Server

Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
https://icecast.org
GNU General Public License v2.0
465 stars 127 forks source link

Segmentation Fault in auth.c #24

Closed hopejr closed 6 years ago

hopejr commented 6 years ago

There is a seg fault on unlocking the thread on line 189 of auth.c in the function auth_release() under certain circumstances:

  1. Configure a mount point with a fallback that is a relay from another server that is actually running (the stream must have parameter hidden=0 and fallback-override=1)
  2. Start Icecast
  3. Stream to Icecast, and then stop the stream after an arbitrary amount of time
  4. Load the status page in the browser At that point, there will be a seg fault as described above. It does not happen when the mount point is hidden for some reason.

Test system is running Debian 9.3. Icecast version 2.4.99.2

ePirat commented 6 years ago

As we track issues over at our Gitlab, I've posted your report there:

https://gitlab.xiph.org/xiph/icecast-server/issues/2330