url.c: fix possible use of non-null-terminated string with strlen
This commit is contained in:
parent
7296fc9e7e
commit
b0e742544b
@ -3733,7 +3733,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data,
|
|||||||
char *query;
|
char *query;
|
||||||
int rc;
|
int rc;
|
||||||
char protobuf[16];
|
char protobuf[16];
|
||||||
const char *protop;
|
const char *protop = "";
|
||||||
CURLcode result;
|
CURLcode result;
|
||||||
bool rebuild_url = FALSE;
|
bool rebuild_url = FALSE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user