mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
tod-shared-loader: Only allow drivers starting with "lib" prefix
This commit is contained in:
@@ -79,6 +79,9 @@ fpi_tod_shared_drivers_register (void)
|
|||||||
FpDeviceClass *cls;
|
FpDeviceClass *cls;
|
||||||
GType driver;
|
GType driver;
|
||||||
|
|
||||||
|
if (!g_str_has_prefix (basename, "lib"))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!g_str_has_suffix (basename, ".so"))
|
if (!g_str_has_suffix (basename, ".so"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user