mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-25 06:40:58 +00:00
fix(core): panic on invalid syscall number
[no changelog]
This commit is contained in:
parent
02227f3e7a
commit
316b01df9f
@ -669,7 +669,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