1
0
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:
cepetr 2024-12-19 14:20:32 +01:00
parent 02227f3e7a
commit 316b01df9f

View File

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