From 71f00b37648a7237ad7efebd1b3145512f21c02a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 13 Mar 2021 23:03:06 +0100 Subject: improve version number format check --- src/lib/exchange_api_handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index 15fb29aa7..a6e6e9a4d 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -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", ¤t, &revision, &age, -- cgit v1.2.3