]> code.ossystems Code Review - openembedded-core.git/commit
lighttpd: Fix mod_cgi to avoid it buffers data without bound.
authorLi xin <lixin.fnst@cn.fujitsu.com>
Mon, 13 Jul 2015 08:06:26 +0000 (16:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 14:08:44 +0000 (15:08 +0100)
commit6d098587415be098913a3b551b0b7ee8c0270274
treef1e866dd28345326939e5f45c8ad8ac54aae7d24
parenta79afafd422a9b8e74c0eaac6296e6d1802bb994
lighttpd: Fix mod_cgi to avoid it buffers data without bound.

If there is a CGI that provides a continuous stream of data,
If lighttpd client reads slower then the CGI is pushing the data,
then lighttpd's buffers will grow until the (embedded) machine OOMs.

Ref: http://redmine.lighttpd.net/issues/1264

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/lighttpd/lighttpd/0001-mod_cgi-buffers-data-without-bound.patch [new file with mode: 0644]
meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb