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;
|
||||
GType driver;
|
||||
|
||||
if (!g_str_has_prefix (basename, "lib"))
|
||||
continue;
|
||||
|
||||
if (!g_str_has_suffix (basename, ".so"))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user