mirror of
https://github.com/curl/curl.git
synced 2026-07-23 16:17:21 +03:00
url.c: fix possible use of non-null-terminated string with strlen
Follow up on b0e742544b
This commit is contained in:
parent
89390f35f8
commit
c48b996cf2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue