Browse Source

intel_security_cookie was showing up undefined

dettanym 4 years ago
parent
commit
359aa9d8a8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      sdk/compiler-rt/stack_chk.c

+ 3 - 3
sdk/compiler-rt/stack_chk.c

@@ -47,7 +47,7 @@ __stack_chk_fail_local (void)
     __stack_chk_fail ();
 }
 
-extern void * __intel_security_cookie;
+//extern void * __intel_security_cookie;
 
 #ifdef __x86_64__
 void __intel_security_check_cookie(void * cookie)
@@ -55,8 +55,8 @@ void __intel_security_check_cookie(void * cookie)
 void __attribute__ ((regparm(1))) __intel_security_check_cookie(void * cookie)
 #endif /* __x86_64__ */
 {
-    if (cookie == __intel_security_cookie)
+ //   if (cookie == __intel_security_cookie)
         return;
-    abort();
+ //   abort();
 }