diff options
author | pst <pst@FreeBSD.org> | 1996-10-01 03:19:23 +0800 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-10-01 03:19:23 +0800 |
commit | 8e7317f0d7660321a92fcda91d2b9a0def4323f9 (patch) | |
tree | 637c7143cae9c77172de7f4d70e783ef0a25f6e5 /mail | |
parent | 07f310ec59470968670353a2bf7d18b9f532a7b5 (diff) | |
download | freebsd-ports-gnome-8e7317f0d7660321a92fcda91d2b9a0def4323f9.tar.gz freebsd-ports-gnome-8e7317f0d7660321a92fcda91d2b9a0def4323f9.tar.zst freebsd-ports-gnome-8e7317f0d7660321a92fcda91d2b9a0def4323f9.zip |
Fix random memory overwrite bug
Diffstat (limited to 'mail')
-rw-r--r-- | mail/popper/files/patch-aa | 2 |
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)) |