From: Marc Hoersken Date: Fri, 18 Apr 2014 22:17:21 +0000 (+0200) Subject: url.c: fix possible use of non-null-terminated string with strlen X-Git-Tag: curl-7_37_0~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e742544be22ede33206a597b22682e51e0c676;p=thirdparty%2Fcurl.git url.c: fix possible use of non-null-terminated string with strlen --- diff --git a/lib/url.c b/lib/url.c index 04497d9bb4..7f204e15f3 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;