mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
In case we get concurrent requests on EnrollStart/EnrollStop we'd just continue with the operation, making the first processed request to start the process and the second to hang (in code before the introduction of stoppable_action_stop()) or to crash (in the current code). So in such case we should always check that we're not handling already the request, by checking priv->current_cancel_invocation value. Add tests to verify the race.