mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-10 21:06:51 +00:00
realtek: Do not check for negative values for gsize
This commit is contained in:
committed by
Marco Trevisan
parent
873bca59ee
commit
5ccf66dd2c
@@ -61,7 +61,7 @@ parse_print_data (GVariant *data,
|
||||
|
||||
*user_id = g_variant_get_fixed_array (user_id_var, user_id_len, 1);
|
||||
|
||||
if (*user_id_len <= 0 || *user_id_len > DEFAULT_UID_LEN)
|
||||
if (*user_id_len == 0 || *user_id_len > DEFAULT_UID_LEN)
|
||||
return FALSE;
|
||||
|
||||
if (*user_id[0] == '\0' || *user_id[0] == ' ')
|
||||
|
||||
Reference in New Issue
Block a user