mirror of
https://github.com/anope/anope.git
synced 2026-07-09 15:43:13 +02:00
Apply some changes based on possible "flaws" found with flawfinder.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2574 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -826,9 +826,9 @@ void req_send_memos(User *u, char *vIdent, char *vHost)
|
||||
return;
|
||||
|
||||
if (vIdent)
|
||||
sprintf(host, "%s@%s", vIdent, vHost);
|
||||
snprintf(host, sizeof(host), "%s@%s", vIdent, vHost);
|
||||
else
|
||||
sprintf(host, "%s", vHost);
|
||||
snprintf(host, sizeof(host), "%s", vHost);
|
||||
|
||||
if (HSRequestMemoOper == 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user