We cannot log errors with server_close() before allocating
authorflorian <florian@openbsd.org>
Thu, 23 Apr 2015 16:59:28 +0000 (16:59 +0000)
committerflorian <florian@openbsd.org>
Thu, 23 Apr 2015 16:59:28 +0000 (16:59 +0000)
commit49b1a9b154081c713af219b2422adaf51ca2584d
tree806cec8339171f5d161e378c9860a72d9b7760c2
parent423631c995882ca2c2da9e241987914cde8349c5
We cannot log errors with server_close() before allocating
clt_log evbuffer.
server_close() calls server_log() which uses ctl_log.
Crash reported by Daniel Jakots <vigdis AT chown DOT me>, thanks!
OK benno
usr.sbin/httpd/server.c