Commit c48b996c authored by Marc Hoersken's avatar Marc Hoersken
Browse files

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

Follow up on b0e74254
parent 89390f35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;