warmcat/libwebsockets — pull request #40 by nononame (2014-01-09 19:56:28+00:00)
Title: bad index, overflow protection of lws_lookup

context->lws_lookup allocation size is
(sizeof(struct libwebsocket *) * context->max_fds).
The maximum index is (context->max_fds - 1).
context->max_fds is not a valid index.