1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 18:23:14 +02:00

Fix a null pointer dereference in the sasl module.

This commit is contained in:
Sadie Powell
2024-06-03 14:39:08 +01:00
parent 2d6033c73f
commit f80bdf06ba
+1 -1
View File
@@ -302,7 +302,7 @@ public:
// If the user is already introduced then we log them in now.
// Otherwise, we send an SVSLOGIN to log them in later.
User *user = User::Find(session->uid);
NickAlias *na = NickAlias::Find(nc->display);
NickAlias *na = nc ? NickAlias::Find(nc->display) : nullptr;
if (user)
{
if (na)