Loading...
sys/OpenBSD/stack_protector.c Libc-825.25 Libc-997.1.1
--- Libc/Libc-825.25/sys/OpenBSD/stack_protector.c
+++ Libc/Libc-997.1.1/sys/OpenBSD/stack_protector.c
@@ -88,8 +88,10 @@
 	for (p = apple; p && *p; p++) {
 		if (strstr(*p, "stack_guard") == *p) {
 			__guard_from_kernel(*p);
-			if (__stack_chk_guard[0] != 0)
+			bzero((void*)*p, strlen(*p));
+			if (__stack_chk_guard[0] != 0) {
 				return;
+			}
 		}
 	}