From c15cb38d13f15831d73fad166f44e5e8de53e94f Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 26 Jun 2011 10:27:28 +0100 Subject: [PATCH] my compiler version didn't find it, but there is an uninitialized usage of len pointed out by Sonic on the blog Reported-by: Sven Signed-off-by: Andy Green --- lib/libwebsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 90e1fbe7..80ab9c10 100644 --- 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";