$Log$
+ Revision 607.22 2003/07/14 17:12:28 ajc
+ * Replaced strcpy() with safestrcpy() in cmd_setp()
+
Revision 607.21 2003/07/14 03:07:05 ajc
* ipgm_secret is no longer set during setup. Now it is set at server startup
and automatically changes whenever an IPGM command is executed.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
return;
}
lgetuser(&CC->user, CC->curr_user);
- strcpy(CC->user.password, new_pw);
+ safestrncpy(CC->user.password, new_pw, sizeof(CC->user.password));
lputuser(&CC->user);
cprintf("%d Password changed.\n", CIT_OK);
lprintf(3, "Password changed for user <%s>\n", CC->curr_user);