diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2014-04-19 14:25:32 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2014-04-19 14:25:32 +0200 |
commit | c48b996cf2bf9331047218b02aa28b39a8796832 (patch) | |
tree | 23125405faa928f9f8d9baa49685231f4e8b33dc | |
parent | 89390f35f8fe1948e829e5e0d1b10c74bb460629 (diff) |
url.c: fix possible use of non-null-terminated string with strlen
Follow up on b0e742544be22ede33206a597b22682e51e0c676
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 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; |