mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-15 13:38:06 +02:00
We already check the claimed state in advance during authorization. This makes sense, as we can avoid authorization if the API has been used incorrectly. However, as the mainloop is running and handling other request the claimed state might change at any point until the method handler is actually running. As such, check the claimed state again in each method. Doing so fixes the possible race condition. |
||
|---|---|---|
| .. | ||
| device.c | ||
| device.xml | ||
| file_storage.c | ||
| file_storage.h | ||
| fprintd.h | ||
| main.c | ||
| manager.c | ||
| manager.xml | ||
| meson.build | ||
| storage.h | ||