aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-04-19 00:17:21 +0200
committerMarc Hoersken <info@marc-hoersken.de>2014-04-19 00:17:21 +0200
commitb0e742544be22ede33206a597b22682e51e0c676 (patch)
tree5661b8daf676214e989ab51c7f4765283f4e21cd /lib/url.c
parent7296fc9e7e2fd7f8661a597dd3f1cd9facc938fa (diff)
url.c: fix possible use of non-null-terminated string with strlen
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 04497d9bb..7f204e15f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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;