hexdecoct: make unbase64mem and unhexmem always use SIZE_MAX

This commit is contained in:
Mike Yuan
2024-01-09 03:59:15 +09:00
committed by Yu Watanabe
parent 7f13af72f8
commit bdd2036e81
39 changed files with 86 additions and 84 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ static int parse_one_option(const char *option) {
_cleanup_free_ void *cid = NULL;
size_t cid_size;
r = unbase64mem(val, SIZE_MAX, &cid, &cid_size);
r = unbase64mem(val, &cid, &cid_size);
if (r < 0)
return log_error_errno(r, "Failed to decode FIDO2 CID data: %m");