mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-15 00:44:25 +09:00
fpi-ssm: Also bug-on negative state value
Being an integer, anything could happen.
This commit is contained in:
@@ -317,7 +317,7 @@ void
|
||||
fpi_ssm_jump_to_state (FpiSsm *machine, int state)
|
||||
{
|
||||
BUG_ON (machine->completed);
|
||||
BUG_ON (state >= machine->nr_states);
|
||||
BUG_ON (state < 0 || state >= machine->nr_states);
|
||||
machine->cur_state = state;
|
||||
__ssm_call_handler (machine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user