projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0922650
)
my compiler version didn't find it, but there is an uninitialized usage of
author
Andy Green
<andy@warmcat.com>
Sun, 26 Jun 2011 09:27:28 +0000
(10:27 +0100)
committer
Andy Green
<andy.green@linaro.org>
Sun, 26 Jun 2011 09:27:28 +0000
(10:27 +0100)
len pointed out by Sonic on the blog
Reported-by: Sven <sven@killig.de>
Signed-off-by: Andy Green <andy@warmcat.com>
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
90e1fbe
..
80ab9c1
100644
(file)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-1056,7
+1056,7
@@
lws_client_interpret_server_handshake(struct libwebsocket_context *context,
char ext_name[128];
struct libwebsocket_extension *ext;
void *v;
- int len;
+ int len
= 0
;
int n;
static const char magic_websocket_04_masking_guid[] =
"61AC5F19-FBBA-4540-B96F-6561F1AB40A8";