fix threadid NULL deref
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 14 May 2023 00:12:49 +0000 (02:12 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 14 May 2023 00:15:53 +0000 (02:15 +0200)
commitfc888ece449bca0362696d561cb0887b128e045d
tree5580959798bffbd85dee55426b9e55ab82f1540e
parent82d4bcc8b86574c2e3cbe1b01cefc66a509947b8
fix threadid NULL deref

strchr returns NULL if the character is not found.
sbr/getthreadid.c