about summary refs log tree commit diff
path: root/sysdeps/x86_64/dl-cet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/dl-cet.c')
-rw-r--r--sysdeps/x86_64/dl-cet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/dl-cet.c b/sysdeps/x86_64/dl-cet.c
index d21854924d..25fa6e30b6 100644
--- a/sysdeps/x86_64/dl-cet.c
+++ b/sysdeps/x86_64/dl-cet.c
@@ -338,8 +338,8 @@ _dl_cet_setup_features (unsigned int cet_feature)
 	   : "=r" (ssp)
 	   : "0" (0));
       if (ssp != NULL)
-	/* The caller is the top-most frame, hence the + 8.  */
-	THREAD_SETMEM (THREAD_SELF, header.ssp_base, ssp + 8);
+	/* The caller is the top-most frame, hence the + 1.  */
+	THREAD_SETMEM (THREAD_SELF, header.ssp_base, ssp + 1);
 
       cet_feature = dl_cet_get_cet_status ();
       if (cet_feature != 0)