projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89390f3
)
url.c: fix possible use of non-null-terminated string with strlen
author
Marc Hoersken
<info@marc-hoersken.de>
Sat, 19 Apr 2014 12:25:32 +0000
(14:25 +0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Sat, 19 Apr 2014 12:25:32 +0000
(14:25 +0200)
Follow up on
b0e742544be22ede33206a597b22682e51e0c676
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
7f204e1
..
b871bd6
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-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;