summaryrefslogtreecommitdiffstats
path: root/misc/alevt
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-08-01 15:04:23 +0000
committerroger <roger@FreeBSD.org>2000-08-01 15:04:23 +0000
commitc1da11609c80734d67fc8c5ff97073f736a99d34 (patch)
tree09158775ab5ef04d711a2a4f5adb185991330b76 /misc/alevt
parentd16386b420a748bd01db06522e1c0e4ee6057c00 (diff)
downloadFreeBSD-ports-c1da11609c80734d67fc8c5ff97073f736a99d34.zip
FreeBSD-ports-c1da11609c80734d67fc8c5ff97073f736a99d34.tar.gz
Fix problem with alevt expecting malloced memory to be zeroed.
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Diffstat (limited to 'misc/alevt')
-rw-r--r--misc/alevt/files/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/alevt/files/patch-ab b/misc/alevt/files/patch-ab
new file mode 100644
index 0000000..9ce44f1
--- /dev/null
+++ b/misc/alevt/files/patch-ab
@@ -0,0 +1,13 @@
+*** xio.c.orig Thu Oct 7 23:24:38 1999
+--- xio.c Tue Aug 1 15:57:33 2000
+*************** xio_open_dpy(char *dpy, int argc, char *
+*** 170,175 ****
+--- 170,177 ----
+ if (not(xio = malloc(sizeof(*xio))))
+ goto fail1;
+
++ bzero(xio, sizeof *xio);
++
+ if (not(xio->dpy = XOpenDisplay(dpy)))
+ goto fail2;
+
OpenPOWER on IntegriCloud