mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Devices with no storage don't allow listing prints, and if we try to do that, we'd end up in trying to call a NULL function pointer, causing a crash So always check if the device has storage before calling the list vfunc, and if we fail, return an error. Include an unit-test to verify this situation
81 KiB
81 KiB