summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2000-08-01 15:04:23 +0000
committerRoger Hardiman <roger@FreeBSD.org>2000-08-01 15:04:23 +0000
commitc91394458d2dac7c1ac8ef1d9c14aee297a13ba3 (patch)
treec8ec2a485810079729bfbb4fb303f16de31b4857 /misc
parentAdd web2ldap, an web-based LDAP client. (diff)
Fix problem with alevt expecting malloced memory to be zeroed.
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Notes
Notes: svn path=/head/; revision=31213
Diffstat (limited to 'misc')
-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 000000000000..9ce44f126221
--- /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;
+