libwebsockets/test-server
Andy Green a496700b3a 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:22:57 +08:00
..
android Android: update to use SDK Python script 2016-06-07 02:42:32 +08:00
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh fix %3d handling in path part and add attack.sh 2016-05-07 08:31:33 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
fuzxy.c Updated test programs to build on Solaris. Some whitespaces cleanup. 2016-09-10 04:53:28 +08:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets-test-server.service test server example systemd service file 2016-02-19 12:46:36 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
lws-cgi-test.sh cgi post 2016-04-13 11:53:40 +08:00
lws-common.js plugin table dirlisting 2016-07-14 08:57:28 +08:00
test-client.c client-add-PUSH-http-body-capability 2016-08-10 21:23:01 +08:00
test-echo.c Updated test programs to build on Solaris. Some whitespaces cleanup. 2016-09-10 04:53:28 +08:00
test-fraggle.c lws_snprintf 2016-09-15 02:22:57 +08:00
test-ping.c lws_snprintf 2016-09-15 02:22:57 +08:00
test-server-dumb-increment.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-echogen.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-http.c lws_snprintf 2016-09-15 02:22:57 +08:00
test-server-libev.c test-libev add server-status protocol 2016-07-14 08:57:27 +08:00
test-server-libuv.c libuv fixes for foreign loop test 2016-05-04 08:40:46 +08:00
test-server-mirror.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-pthreads.c Updated test programs to build on Solaris. Some whitespaces cleanup. 2016-09-10 04:53:28 +08:00
test-server-status.c lws_snprintf 2016-09-15 02:22:57 +08:00
test-server-v2.0.c protocol generic sessions 2016-06-18 06:44:31 +08:00
test-server.c Updated test programs to build on Solaris. Some whitespaces cleanup. 2016-09-10 04:53:28 +08:00
test-server.h protocol generic sessions 2016-06-18 06:44:31 +08:00
test.html per-vhost headers and lwsws conf support 2016-08-27 17:07:06 +08:00