url.c: fix possible use of non-null-terminated string with strlen

This commit is contained in:
Marc Hoersken 2014-04-19 00:17:21 +02:00
parent 7296fc9e7e
commit b0e742544b

View File

@ -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;