summaryrefslogtreecommitdiff
path: root/mail/mush/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mush/patches/patch-ac')
-rw-r--r--mail/mush/patches/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/mush/patches/patch-ac b/mail/mush/patches/patch-ac
new file mode 100644
index 00000000000..361cb512fa6
--- /dev/null
+++ b/mail/mush/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 1998/09/04 18:33:47 christos Exp $
+
+*** old/malloc.c Fri Sep 4 11:22:08 1998
+--- malloc.c Fri Sep 4 11:21:28 1998
+***************
+*** 436,442 ****
+ {
+ extern char end[];
+
+! if (cp && cp >= end && cp < stackbottom && cp < (char *) &cp && debug < 5)
+ free(cp);
+ }
+
+--- 436,442 ----
+ {
+ extern char end[];
+
+! if (cp && cp >= (void *) end && cp < (void *) stackbottom && cp < (void *) &cp && debug < 5)
+ free(cp);
+ }
+