summaryrefslogtreecommitdiff
path: root/mail/popper/files/patch-aa
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1996-09-30 19:19:23 +0000
committerPaul Traina <pst@FreeBSD.org>1996-09-30 19:19:23 +0000
commita32537ed35620ece2bc868506fc56da1a71b6a2b (patch)
tree262ac7e344ef11be728bd4ab2bb62d31bc6250cc /mail/popper/files/patch-aa
parentImport of MsqlPerl, an perl5 module for accessing mSQL databases. (diff)
Fix random memory overwrite bug
Notes
Notes: svn path=/head/; revision=3900
Diffstat (limited to '')
-rw-r--r--mail/popper/files/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/popper/files/patch-aa b/mail/popper/files/patch-aa
index a2bc69cc4267..b42436e71f8c 100644
--- a/mail/popper/files/patch-aa
+++ b/mail/popper/files/patch-aa
@@ -152,7 +152,7 @@
{
+ #if defined(BSD) && (BSD >= 199306)
+ /* Check password change and expire times before granting access */
-+ time_t now = time();
++ time_t now = time((time_t *) NULL);
+
+ if ((pw->pw_change && now > pw->pw_change) ||
+ (pw->pw_expire && now > pw->pw_expire))