summaryrefslogtreecommitdiff
path: root/x11/xlockmore/distinfo
diff options
context:
space:
mode:
authoris <is>2012-10-15 15:29:09 +0000
committeris <is>2012-10-15 15:29:09 +0000
commitb4ed987f2761475c3285fc40aaf3dcf2dd28ec3d (patch)
tree74041fd54243787bed043879273a55c95842be6b /x11/xlockmore/distinfo
parent000bc0c234ecbfcf50f4d08d106a47b29c9c3d49 (diff)
downloadpkgsrc-b4ed987f2761475c3285fc40aaf3dcf2dd28ec3d.tar.gz
xlock -mode dclock would segfault on OSes with sizeof(time_t)>sizeof(long);
this includes NetBSD-6 on 32bit systems. As a result, xlock -mode random (the default) would eventually unlock the screen, without the user being aware of this (as she/he's can be presumed to have left the monitor). The reason was that some variables in dclock.c were declared long, but contain essentially time_t values. In on case, a pointer to such a variable was casted to (struct time_t *) and passed to localtime(), and the resulting pointer is not checked for error before being used. The variables have been changed to time_t and the typecast has been removed.
Diffstat (limited to 'x11/xlockmore/distinfo')
-rw-r--r--x11/xlockmore/distinfo3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo
index 205a123f621..d02fb57b6b7 100644
--- a/x11/xlockmore/distinfo
+++ b/x11/xlockmore/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2012/02/13 11:46:13 drochner Exp $
+$NetBSD: distinfo,v 1.49 2012/10/15 15:29:09 is Exp $
SHA1 (xlockmore-5.38.tar.bz2) = 5a0fd27209dfc0966a1ec691f9ea4416587082bf
RMD160 (xlockmore-5.38.tar.bz2) = 227a2c13c8cf1ddb027138dc520874accf5c0f72
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 48bd5ea9389f646df5ffe290f3230b028916f0d1
SHA1 (patch-ac) = e05f4956c0b4bd9b90c86e5a1174aab5e474115f
SHA1 (patch-ad) = a76c7d9f17dec5cf2a3de6d0c3343c80cf53d314
SHA1 (patch-ae) = b78d7d148c9a62dbdf72e05aeec8d22d10ab9cce
+SHA1 (patch-modes_dclock.c) = b5863dab4153cbe19b54c2838c85df1a84f09a14