]> git.ipfire.org Git - thirdparty/shairport-sync.git/commit
Avoid passing NULL pointer to printf(3) %s 1810/head
authorKlemens Nanni <kn@openbsd.org>
Sat, 24 Feb 2024 13:12:25 +0000 (14:12 +0100)
committerKlemens Nanni <kn@openbsd.org>
Sat, 24 Feb 2024 13:12:25 +0000 (14:12 +0100)
commit22fc3bccab3ab30a887e3c9168630d8ce90b0066
tree13a8553f01ef3eaad8d58d472db6d034535c7bd7
parent00a47584049789286e4ced0d95745066e4b0cb77
Avoid passing NULL pointer to printf(3) %s

OpenBSD issues syslog(3) warnings about these as they may hint at bugs:
shairport-sync: vfprintf %s NULL in "metadata socket address is "%s" port %d."

Metadata listener socket is empty by default so use the existing `strnull`.
shairport.c