]> arthur.barton.de Git - ngircd.git/commit
Fix a possible race condition in Client_Introduce()
authorAlexander Barton <alex@barton.de>
Thu, 30 Dec 2021 19:31:41 +0000 (20:31 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 30 Dec 2021 19:31:41 +0000 (20:31 +0100)
commit1db3447c909576cf10985b434214a264afe0688e
tree00a9bb875db4e53eb27a08ac375c1138749be111
parent3675c7567caf65e8fb0ed0390083a6d33919d26f
Fix a possible race condition in Client_Introduce()

Conf_GetServer() can return NULL when the server introducing the client
had a write error for example, and is being disconnected.

So make sure that we have a valid server before calling Conf_NickIsService()!
src/ngircd/client.c