From c48b996cf2bf9331047218b02aa28b39a8796832 Mon Sep 17 00:00:00 2001
From: Marc Hoersken <info@marc-hoersken.de>
Date: Sat, 19 Apr 2014 14:25:32 +0200
Subject: [PATCH] url.c: fix possible use of non-null-terminated string with
 strlen

Follow up on b0e742544be22ede33206a597b22682e51e0c676
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index 7f204e15f3..b871bd6340 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3732,7 +3732,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data,
   char *path = data->state.path;
   char *query;
   int rc;
-  char protobuf[16];
+  char protobuf[16] = "";
   const char *protop = "";
   CURLcode result;
   bool rebuild_url = FALSE;
-- 
GitLab