hexdecoct: make unbase64mem and unhexmem always use SIZE_MAX
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user