CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2026/08/26 06:16:29
Modified files:
net/icecast : Makefile
Added files:
net/icecast/patches: patch-src_util_crypt_c
Log message:
Fix crash when trying to access the /admin/ page
Apparently checking passwords goes through checks for hash algorithms
supported by crypt(3). But since none of the algorithms checked are
supported by the OpenBSD libc, the code ends up dereferencing a NULL
pointer. I'm not sure yet why the code checks for algorithms supported
by crypt(3), as the code wasn't present in icecast-2.4.4.
To fix this, avoid dereferencing said NULL pointer. While here, add
DEBUG_PACKAGES.
Problem reported by Olivier Cherrier.