You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lighttpd1.4/src
Stefan Bühler fba7dd6f43 fix resource leaks in error cases on config parsing and other initializations
None of this matters - lighttpd will terminate anyway. Still helps the
  code to get cleaner, and makes reviewing output of static analyzers
  easier.

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2947 152afb58-edef-0310-8abb-c4023f1b3aa9
9 years ago
..
CMakeLists.txt [cmake] Use TARGET_LINK_LIBRARIES instead of LINK_FLAGS for library dependencies, also add -Wl,--as-needed to extra warnings (fixes #2448) 10 years ago
Makefile.am [auto* build] remove -no-undefined from linker flags, as we actually link modules with undefined symbols (fixes #2533) 10 years ago
SConscript Always use our 'own' md5 implementation, fixes linking issues on MacOS (fixes #2331) 12 years ago
array.c add two asserts to help parfait (#2530) 10 years ago
array.h Fix header inclusion order, always include "config.h" before any system header 14 years ago
base.h [stat-cache] fix FAM cleanup/fdevent handling 10 years ago
bitset.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
bitset.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
buffer.c [buffer] fix length check in buffer_is_equal_right_len 9 years ago
buffer.h [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501) 10 years ago
chunk.c Append to previous buffer in con read (fixes #2147, found by liming, CVE-2010-0295) 14 years ago
chunk.h Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923) 14 years ago
config.h.cmake add libev fdevent handler: server.event-handler = "libev" 13 years ago
configfile-glue.c fix :port handling in $HTTP["host"] checks (fixes #2135. thx liming) 11 years ago
configfile.c fix resource leaks in error cases on config parsing and other initializations 9 years ago
configfile.h fixed aggressive caching of conditionals (#41) 16 years ago
configparser.y Fix segfault on invalid config "duplicate else conditions" (fixes #2065) 14 years ago
connections-glue.c Fix some problems with more strict compilers (#1923) 14 years ago
connections.c add comments for switch fall throughs 9 years ago
connections.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
crc32.c fixed crc32c on 64bit platforms (fixes crc errors) 18 years ago
crc32.h Fix header inclusion order, always include "config.h" before any system header 14 years ago
data_array.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
data_config.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
data_count.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
data_fastcgi.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
data_integer.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
data_string.c Fix two compiler warnings 13 years ago
etag.c Fix etag formatting 13 years ago
etag.h Fix header inclusion order, always include "config.h" before any system header 14 years ago
fastcgi.h - white space cleanup part 2 this time 1.4 ;) 17 years ago
fdevent.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
fdevent.h Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) 12 years ago
fdevent_freebsd_kqueue.c Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) 12 years ago
fdevent_libev.c [fdevent-libev] fix type punning warnings 10 years ago
fdevent_linux_sysepoll.c Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) 12 years ago
fdevent_poll.c Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) 12 years ago
fdevent_select.c Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. 13 years ago
fdevent_solaris_devpoll.c Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) 12 years ago
fdevent_solaris_port.c fdevent: add solaris eventports (fixes #2171) 12 years ago
http-header-glue.c [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501) 10 years ago
http_auth.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
http_auth.h [mod_auth] some cleanup, only search for matching auth.require path once 10 years ago
http_chunk.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
http_chunk.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
inet_ntop_cache.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
inet_ntop_cache.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
joblist.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
joblist.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
keyvalue.c [core] recognize more http methods to forward to backends (fixes #2346) 10 years ago
keyvalue.h [core] recognize more http methods to forward to backends (fixes #2346) 10 years ago
lemon.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
lempar.c Use NULL instead of 0 where pointers are expected. 11 years ago
lighttpd-angel.c [lighttpd-angel] Remove unused variable. 11 years ago
log.c [mod_fastcgi,log] support multi line logging (fixes #2252) 10 years ago
log.h [mod_fastcgi,log] support multi line logging (fixes #2252) 10 years ago
md5.c [md5] Fix non-ANSI function definitions. 11 years ago
md5.h [ssl/md5] prefix our own md5 implementation with li_ so it doesn't conflict with the openssl one (fixes #2269) 12 years ago
mod_access.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_accesslog.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_alias.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_auth.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_auth.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
mod_cgi.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_cml.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_cml.h - white space cleanup part 2 this time 1.4 ;) 17 years ago
mod_cml_funcs.c Always use our 'own' md5 implementation, fixes linking issues on MacOS (fixes #2331) 12 years ago
mod_cml_funcs.h Fix header inclusion order, always include "config.h" before any system header 14 years ago
mod_cml_lua.c Always use our 'own' md5 implementation, fixes linking issues on MacOS (fixes #2331) 12 years ago
mod_compress.c remove logical dead code 9 years ago
mod_dirlisting.c [mod_dirlisting] fix memory leak if pcre fails 9 years ago
mod_evasive.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_evhost.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_expire.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_extforward.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_fastcgi.c fix resource leaks in error cases on config parsing and other initializations 9 years ago
mod_flv_streaming.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_indexfile.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_magnet.c [mod_magnet] fix memory leak 9 years ago
mod_magnet_cache.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
mod_magnet_cache.h lua_State has to be put into the #ifdef too 17 years ago
mod_mysql_vhost.c [mod_mysql_vhost] fix memory leak on config init (#2530) 10 years ago
mod_proxy.c fix resource leaks in error cases on config parsing and other initializations 9 years ago
mod_redirect.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_rewrite.c [core] decode URL before rewrite, enabling it to work in $HTTP["url"] conditionals (fixes #2526) 10 years ago
mod_rrdtool.c [mod_rrdtool] fix invalid read (string not null terminated) 9 years ago
mod_scgi.c fix resource leaks in error cases on config parsing and other initializations 9 years ago
mod_secure_download.c maintain physical.basedir (the "acting" doc-root as prefix of physical.path) in more places 10 years ago
mod_setenv.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_simple_vhost.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_skeleton.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_ssi.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_ssi.h Add ssi.content-type option (default text/html, fixes #615) 14 years ago
mod_ssi_expr.c Fix non-ANSI function declarations. 11 years ago
mod_ssi_expr.h [mod_ssi] fix "ssi_val_init" prototype 10 years ago
mod_ssi_exprparser.y Fix header inclusion order, always include "config.h" before any system header 14 years ago
mod_staticfile.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_status.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_trigger_b4_dl.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_uploadprogress.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_userdir.c maintain physical.basedir (the "acting" doc-root as prefix of physical.path) in more places 10 years ago
mod_usertrack.c fix/silence bugs reported by ccc-analyzer (clang) 10 years ago
mod_webdav.c [mod_webdav] fix fd leak found with parfait (fixes #2530, thx kukackajiri) 10 years ago
network.c fix resource leaks in error cases on config parsing and other initializations 9 years ago
network.h Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 12 years ago
network_backends.h Disable mmap by default (fixes #2391) 11 years ago
network_freebsd_sendfile.c Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 12 years ago
network_linux_sendfile.c Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 12 years ago
network_openssl.c [ssl] accept ssl renegotiations if they are not disabled (fixes #2491) 10 years ago
network_solaris_sendfilev.c Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 12 years ago
network_write.c Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 12 years ago
network_writev.c [network] use constants available at compile time for maximum number of chunks for writev instead of calling sysconf (fixes #2470) 10 years ago
plugin.c Only print a warning for now if you try to load a module twice 13 years ago
plugin.h Fix non-ANSI function declarations. 11 years ago
proc_open.c fix some bugs found with canalyze (fixes #2484, thx Zhenbo Xu) 10 years ago
proc_open.h Fix leaving zombie process with include_shell (#1777) 15 years ago
request.c add comments for switch fall throughs 9 years ago
request.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
response.c [core] decode URL before rewrite, enabling it to work in $HTTP["url"] conditionals (fixes #2526) 10 years ago
response.h Fix header inclusion order, always include "config.h" before any system header 14 years ago
server.c [core] check success of setuid,setgid,setgroups (CVE-2013-4559) 10 years ago
server.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
settings.h Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 12 years ago
splaytree.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
splaytree.h - white space cleanup part 2 this time 1.4 ;) 17 years ago
stat_cache.c [stat-cache] fix FAM cleanup/fdevent handling 10 years ago
stat_cache.h cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls 13 years ago
status_counter.c Fix header inclusion order, always include "config.h" before any system header 14 years ago
status_counter.h Fix header inclusion order, always include "config.h" before any system header 14 years ago
stream.c Use NULL instead of 0 where pointers are expected. 11 years ago
stream.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
sys-mmap.h moved everything below trunk/ and added branches/ and tags/ 19 years ago
sys-socket.h ECONNABORTED is not known on cygwin (fixes #863) 16 years ago
version.h Fix header inclusion order, always include "config.h" before any system header 14 years ago