vnik5287 / kaslr_tsx_bypass

Linux kASLR (Intel TSX/RTM) bypass static library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

double i

pavlinux opened this issue · comments

index 9caadd1..8b31e1b 100644
--- a/util.c
+++ b/util.c
@@ -49,7 +49,7 @@ void start_cpu_load(void) {
 
        cont = 1;       
        
-   for (int i = 0; i < ncores; i++) {
+   for (i = 0; i < ncores; i++) {
                pthread_create(&threads[i], NULL, loop, NULL);
        }
 }
`