mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-26 22:05:38 +00:00
Check for unallocated string
This commit is contained in:
1 parent
4a5be24804
commit
ce3fa431f4
1 file changed
+1
-1
@@ -620,7 +620,7 @@ servlist_connect (session *sess, ircnet *net, gboolean join)
|
||||
{
|
||||
strcpy (serv->sasluser, prefs.hex_irc_user_name);
|
||||
}
|
||||
else
|
||||
else if (net->user != NULL)
|
||||
{
|
||||
safe_strcpy (serv->sasluser, net->user, sizeof (serv->sasluser));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user