Loading...
sys/OpenBSD/stack_protector.c Libc-1044.1.2 Libc-825.25
--- Libc/Libc-1044.1.2/sys/OpenBSD/stack_protector.c
+++ Libc/Libc-825.25/sys/OpenBSD/stack_protector.c
@@ -35,7 +35,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <fcntl.h>
-#include <CrashReporterClient.h>
+#include "CrashReporterClient.h"
 #include "libproc.h"
 #include "_simple.h"
 
@@ -88,10 +88,8 @@
 	for (p = apple; p && *p; p++) {
 		if (strstr(*p, "stack_guard") == *p) {
 			__guard_from_kernel(*p);
-			bzero((void*)*p, strlen(*p));
-			if (__stack_chk_guard[0] != 0) {
+			if (__stack_chk_guard[0] != 0)
 				return;
-			}
 		}
 	}