1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

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 <sven@killig.de>
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2011-06-26 10:27:28 +01:00 committed by Andy Green
parent 0922650b53
commit c15cb38d13

View file

@ -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";