diff options
author | Marvin Borner | 2021-04-02 13:55:25 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-02 13:55:25 +0200 |
commit | d055495f3dbb62f74809d31a84621d6e86d61d0a (patch) | |
tree | 38d39fd8ae20cec29221264e8394586cc509547c /libs/libc/print.c | |
parent | 3e81b8a254485de532d46c9a0710be97879d0605 (diff) |
Fixed serious race condition exploits
Diffstat (limited to 'libs/libc/print.c')
-rw-r--r-- | libs/libc/print.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/libc/print.c b/libs/libc/print.c index 7c19628..d990985 100644 --- a/libs/libc/print.c +++ b/libs/libc/print.c @@ -233,8 +233,6 @@ void print_trace(u32 count) __asm__ volatile("movl %%ebp, %0;" : "=r"(stk)); print("EBP\tEIP\n"); for (u32 i = 0; stk && i < count; i++) { - /* u32 eip = memory_valid((void *)stk->eip) ? stk->eip : stk->eip + 64; */ - /* printf("0x%x\t0x%x\n", stk->ebp, eip); */ printf("0x%x\t0x%x\n", stk->ebp, stk->eip); stk = stk->ebp; } |