From b0e742544be22ede33206a597b22682e51e0c676 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sat, 19 Apr 2014 00:17:21 +0200 Subject: url.c: fix possible use of non-null-terminated string with strlen --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 04497d9bb..7f204e15f 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3733,7 +3733,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data, char *query; int rc; char protobuf[16]; - const char *protop; + const char *protop = ""; CURLcode result; bool rebuild_url = FALSE; -- cgit v1.2.3