1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/vlock/files/patch-ae
Trevor Johnson 1a71f31ac4 new port of vlock 1.3, a utility to lock a console until a password
is entered

PR:		21834
Submitted by:	George Reid <services@nevernet.net>
2000-10-22 15:36:25 +00:00

12 lines
274 B
Plaintext

--- input.c.orig Wed Jan 13 16:19:14 1999
+++ input.c Sun Oct 22 08:22:42 2000
@@ -291,7 +291,7 @@
setuid(getuid());
setgid(getgid());
- sprintf(prompt, "%s's password: ", username);
+ snprintf(prompt, 99, "%s's password: ", username);
#endif /* !USE_PAM */
}