improve version number format check

This commit is contained in:
Christian Grothoff 2021-03-13 23:03:06 +01:00
parent d1c5337a88
commit 71f00b3764
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -728,7 +728,7 @@ decode_keys_json (const json_t *resp_obj,
return GNUNET_SYSERR;
}
if (3 != sscanf (ver,
"%u:%u:%u",
"%u:%u:%u%c",
&current,
&revision,
&age,