lighttpd1.4/src
Stefan Bühler 12f375f3b1 array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry (fixes #2145)
- the "mem leak" could only be triggered if you use different entry
   types in the same array (this wasn't supported by
   array_get_unused_element) or didn't call array_get_unused_element
   before creating new entries.

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2750 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-05 21:08:23 +00:00
..
CMakeLists.txt cmake: Add -export-dynamic to link flags, fixes build on FreeBSD 2009-07-10 16:46:04 +00:00
Makefile.am autotools: don't recreate parser files with lemon after lemon rebuild 2010-08-05 19:53:52 +00:00
SConscript Remove mod_uploadprogress from cmake/scons (fixes #1955) 2009-04-09 16:51:48 +00:00
array.c array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry (fixes #2145) 2010-08-05 21:08:23 +00:00
array.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
base.h Append to previous buffer in con read (fixes #2147, found by liming, CVE-2010-0295) 2010-02-01 23:28:50 +00:00
bitset.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
bitset.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
buffer.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
buffer.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
chunk.c Append to previous buffer in con read (fixes #2147, found by liming, CVE-2010-0295) 2010-02-01 23:28:50 +00:00
chunk.h Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923) 2009-04-09 17:39:20 +00:00
config.h.cmake Add proper SUID bit detection (fixes #416) 2009-04-09 16:51:52 +00:00
configfile-glue.c Add TLS servername indication (SNI) support (fixes #386, thx Peter Colberg <peter@colberg.org>) 2009-10-14 13:39:59 +00:00
configfile.c export some SSL_CLIENT_* vars for client cert validation (fixes #1288, thx presbrey) 2009-11-05 21:46:48 +00:00
configfile.h fixed aggressive caching of conditionals (#41) 2007-08-18 09:27:11 +00:00
configparser.y Fix segfault on invalid config "duplicate else conditions" (fixes #2065) 2009-10-12 08:48:08 +00:00
connections-glue.c Fix some problems with more strict compilers (#1923) 2009-03-07 13:54:10 +00:00
connections.c openssl: silence annoying error messages for errno==0 (fixes #2213) 2010-08-05 20:42:18 +00:00
connections.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
crc32.c fixed crc32c on 64bit platforms (fixes crc errors) 2005-09-26 12:26:37 +00:00
crc32.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
data_array.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
data_config.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
data_count.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
data_fastcgi.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
data_integer.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
data_string.c Fix two compiler warnings 2010-07-04 07:45:25 +00:00
etag.c Fix etag formatting 2010-07-04 07:45:17 +00:00
etag.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
fastcgi.h - white space cleanup part 2 this time 1.4 ;) 2006-10-04 13:26:23 +00:00
fdevent.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
fdevent.h Add <sys/types.h> before including event backends 2009-10-11 14:54:33 +00:00
fdevent_freebsd_kqueue.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
fdevent_linux_rtsig.c always define _GNU_SOURCE 2009-10-12 10:39:36 +00:00
fdevent_linux_sysepoll.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
fdevent_poll.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
fdevent_select.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
fdevent_solaris_devpoll.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
http-header-glue.c always define _GNU_SOURCE 2009-10-12 10:39:36 +00:00
http_auth.c - Include IP addresses on error log on password failures (fixes #2191) 2010-05-28 15:54:27 +00:00
http_auth.h Now really fix mod auth ldap (#1066) 2008-09-30 15:30:06 +00:00
http_auth_digest.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
http_auth_digest.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
http_chunk.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
http_chunk.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
inet_ntop_cache.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
inet_ntop_cache.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
joblist.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
joblist.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
keyvalue.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
keyvalue.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
lemon.c Fixed some small non-critical leaks reported by cppcheck 2009-09-01 14:03:59 +00:00
lempar.c Fix some problems with more strict compilers (#1923) 2009-03-07 13:54:10 +00:00
lighttpd-angel.c Fixed many warnings (compare (un)signed, unused vars, and initialize with zero) 2008-04-29 11:03:26 +00:00
log.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
log.h Add support for pipe logging for server.errorlog (fixes #296) 2009-04-10 10:50:51 +00:00
md5.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
md5.h Fix more warnings (unused var, pointer types in md5.c) 2008-04-29 21:01:00 +00:00
mod_access.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_accesslog.c mod_accesslog: optimize accesslog_append_escaped (fixes #2236, thx crypt) 2010-08-05 19:53:49 +00:00
mod_alias.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_auth.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_auth.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
mod_cgi.c mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217) 2010-07-04 10:37:34 +00:00
mod_cml.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_cml.h - white space cleanup part 2 this time 1.4 ;) 2006-10-04 13:26:23 +00:00
mod_cml_funcs.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_cml_funcs.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_cml_lua.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_compress.c [mod_compress] Fix segfault when etags are disabled (fixes #2169) 2010-04-28 13:35:25 +00:00
mod_dirlisting.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_evasive.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_evhost.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_expire.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_extforward.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_fastcgi.c mod_fastcgi: Send 502 "Bad Gateway" if we couldn't open the file for X-Sendfile (fixes #2226) 2010-07-04 08:30:52 +00:00
mod_flv_streaming.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_indexfile.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_magnet.c mod_magnet: add traceback for printing lua errors 2009-10-26 14:16:20 +00:00
mod_magnet_cache.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_magnet_cache.h lua_State has to be put into the #ifdef too 2006-09-15 15:32:18 +00:00
mod_mysql_vhost.c Allow mod_mysql_vhost to use stored procedures (fixes #2011, thx Ben Brown) 2009-07-24 20:26:17 +00:00
mod_proxy.c mod_proxy: close connection on write error (fixes #2114) 2010-04-07 15:54:28 +00:00
mod_redirect.c Fix segfault with broken rewrite/redirect patterns (fixes #2140, found by crypt) 2010-01-30 21:23:29 +00:00
mod_rewrite.c Fix segfault with broken rewrite/redirect patterns (fixes #2140, found by crypt) 2010-01-30 21:23:29 +00:00
mod_rrdtool.c mod_rrdtool: fix creating file if it doesn't exist (#1788) 2009-10-31 09:54:13 +00:00
mod_scgi.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_secure_download.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_setenv.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_simple_vhost.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_skeleton.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_ssi.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_ssi.h Add ssi.content-type option (default text/html, fixes #615) 2009-06-10 14:50:42 +00:00
mod_ssi_expr.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_ssi_expr.h - white space cleanup part 2 this time 1.4 ;) 2006-10-04 13:26:23 +00:00
mod_ssi_exprparser.y Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_staticfile.c mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions (fixes #2215) 2010-07-04 08:43:37 +00:00
mod_status.c mod_status: Add version to status page (fixes #2219) 2010-07-11 17:18:59 +00:00
mod_trigger_b4_dl.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_uploadprogress.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_userdir.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
mod_usertrack.c mod_usertrack: Use T_CONFIG_INT for max-age, solves range problem (#1455) 2009-10-12 09:35:01 +00:00
mod_webdav.c fix mod_webdav crash from #1793 (fixes #2048, thx hiroya) 2009-10-16 19:00:19 +00:00
network.c Reset uri.authority before TLS servername handling, reset all "keep-alive" data in connection_del (fixes #2125) 2010-04-28 19:08:11 +00:00
network.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
network_backends.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
network_freebsd_sendfile.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
network_linux_sendfile.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
network_openssl.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
network_solaris_sendfilev.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
network_write.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
network_writev.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
plugin.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
plugin.h - white space cleanup part 2 this time 1.4 ;) 2006-10-04 13:26:23 +00:00
proc_open.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
proc_open.h Fix leaving zombie process with include_shell (#1777) 2008-09-30 19:42:29 +00:00
request.c Read hostname from absolute uris in the request line (fixes #1937) 2009-10-11 18:31:25 +00:00
request.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
response.c Fix var declarations mixed in source 2010-04-13 16:21:21 +00:00
response.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
server.c Fix two compiler warnings 2010-07-04 07:45:25 +00:00
server.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
settings.h Fix linger close timeout handling, drop timeout to 5 seconds (fixes #2086) 2009-10-19 13:26:01 +00:00
splaytree.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
splaytree.h - white space cleanup part 2 this time 1.4 ;) 2006-10-04 13:26:23 +00:00
stat_cache.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
stat_cache.h dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end 2005-08-08 08:22:06 +00:00
status_counter.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
status_counter.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
stream.c Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00
stream.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
sys-mmap.h moved everything below trunk/ and added branches/ and tags/ 2005-02-20 14:27:00 +00:00
sys-socket.h ECONNABORTED is not known on cygwin (fixes #863) 2007-04-09 20:31:03 +00:00
version.h Fix header inclusion order, always include "config.h" before any system header 2009-10-11 14:31:42 +00:00