summaryrefslogtreecommitdiff
path: root/security/vlock/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'security/vlock/files/patch-ae')
-rw-r--r--security/vlock/files/patch-ae11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/vlock/files/patch-ae b/security/vlock/files/patch-ae
new file mode 100644
index 000000000000..8a040468317d
--- /dev/null
+++ b/security/vlock/files/patch-ae
@@ -0,0 +1,11 @@
+--- 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 */
+ }
+