mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 18:00:59 +00:00
fix(core): panic on invalid syscall number
[no changelog]
This commit is contained in:
parent
63fe21b6cb
commit
f3793fd8c4
@ -674,7 +674,7 @@ __attribute((no_stack_protector)) void syscall_handler(uint32_t *args,
|
||||
} break;
|
||||
|
||||
default:
|
||||
args[0] = 0xffffffff;
|
||||
system_exit_fatal("Invalid syscall", __FILE__, __LINE__);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user