libwebsockets/plugins
Andy Green 1f02bd2e66 lws_snprintf
Thanks to Fabrice Gilot for reporting the problem that led to uncovering this.

Due to a misunderstanding of the return value of snprintf (it is not truncated according
to the max size passed in) in several places relying on snprintf to truncate the length
overflows are possible.

This patch wraps snprintf with a new lws_snprintf() which does truncate its length to allow
the buffer limiting scheme to work properly.

All users should update with these fixes.
2016-09-15 02:54:32 +08:00
..
lwsws-logo.png http cache policy 2016-04-22 08:53:49 +08:00
protocol_dumb_increment.c plugin lws server status 2016-04-18 20:05:43 +08:00
protocol_lws_mirror.c polarssl implementation 2016-04-18 20:05:43 +08:00
protocol_lws_server_status.c win32 libuv related build fixes 2016-05-13 08:22:03 +08:00
protocol_lws_status.c lws_snprintf 2016-09-15 02:54:32 +08:00
server-status.html server status add getloadavg and lib version and more css 2016-04-26 14:54:09 +08:00