diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-21 23:31:48 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-21 23:31:48 +0300 |
| commit | 97ffab0a8472981b927d0f4e81bb72f6ecd69b86 (patch) | |
| tree | c8a36352d599dc9477a6e647878d5e6191b4e98f /src/uapi/dispatch.c | |
| parent | ab011165cd440b5535d39febd8118e3e26b64b57 (diff) | |
| download | kmi-97ffab0a8472981b927d0f4e81bb72f6ecd69b86.tar.gz kmi-97ffab0a8472981b927d0f4e81bb72f6ecd69b86.zip | |
add malloc test
Diffstat (limited to 'src/uapi/dispatch.c')
| -rw-r--r-- | src/uapi/dispatch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uapi/dispatch.c b/src/uapi/dispatch.c index 5e29922..ad53536 100644 --- a/src/uapi/dispatch.c +++ b/src/uapi/dispatch.c @@ -93,5 +93,6 @@ void handle_syscall(sys_arg_t syscall, sys_arg_t a, sys_arg_t b, if (check_canary(t)) { bug("Syscall %zu overwrote stack canary\n", syscall); + set_canary(t); } } |
