1
0
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:
cepetr 2025-01-13 19:08:16 +01:00 committed by cepetr
parent 63fe21b6cb
commit f3793fd8c4

View File

@ -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;
}
}