From 24b6261e5bb286fa494e7208a3de28365e0ca004 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 15 Jun 2020 08:13:43 +1000 Subject: [PATCH] coverity 1464213: API usage errors (PRINTF_ARGS) Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/12149) --- apps/lib/http_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/lib/http_server.c b/apps/lib/http_server.c index 11f0b1fcb5..5c009b9990 100644 --- a/apps/lib/http_server.c +++ b/apps/lib/http_server.c @@ -397,7 +397,7 @@ int http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq, log_message(prog, LOG_ERR, "Error parsing request"); } else if (ppath != NULL && (*ppath = OPENSSL_strdup(url)) == NULL) { log_message(prog, LOG_ERR, - "Out of memory allocating %d bytes", strlen(url) + 1); + "Out of memory allocating %zu bytes", strlen(url) + 1); ASN1_item_free(req, it); goto fatal; } -- 2.34.1