pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xmon Avoid a NULL pointer deref.
details: https://anonhg.NetBSD.org/pkgsrc/rev/31ca6ac64dcf
branches: trunk
changeset: 514883:31ca6ac64dcf
user: martin <martin%pkgsrc.org@localhost>
date: Tue Jun 20 09:36:20 2006 +0000
description:
Avoid a NULL pointer deref.
diffstat:
x11/xmon/distinfo | 3 ++-
x11/xmon/patches/patch-ad | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 47845a5975ee -r 31ca6ac64dcf x11/xmon/distinfo
--- a/x11/xmon/distinfo Tue Jun 20 09:14:46 2006 +0000
+++ b/x11/xmon/distinfo Tue Jun 20 09:36:20 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 17:36:24 wiz Exp $
+$NetBSD: distinfo,v 1.4 2006/06/20 09:36:20 martin Exp $
SHA1 (xmon.1.5.4.tar.gz) = 646236e6abe38d8049112eea534423550431cd1a
RMD160 (xmon.1.5.4.tar.gz) = a0d304769348215756de085ab1e14bbd2541cb25
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = 6f927e32fc7097f5a16355e3312b470d979be985
SHA1 (patch-ab) = 2b23ab7d8f9fcc2d627320a2aa23e425365a59ec
SHA1 (patch-ac) = f532bb53d4c08b507595116e09e2f7a2de5c6b9e
+SHA1 (patch-ad) = 1a4692da5bd330196a17e2cbe8e20650f3faec83
diff -r 47845a5975ee -r 31ca6ac64dcf x11/xmon/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xmon/patches/patch-ad Tue Jun 20 09:36:20 2006 +0000
@@ -0,0 +1,11 @@
+--- decode11.c.orig 1997-02-07 03:45:32.000000000 +0100
++++ decode11.c 2006-06-20 11:32:55.000000000 +0200
+@@ -1080,7 +1080,7 @@
+ Bool real_event;
+ {
+ short Event = IByte (&buf[0]) & 0x7f;
+- int fd = server->fdd->fd;
++ int fd = server ? server->fdd->fd : -1;
+ Bool extended_event = False;
+
+ if (real_event)
Home |
Main Index |
Thread Index |
Old Index