When syslogd was sending via TCP, there was file descriptor leak
authorbluhm <bluhm@openbsd.org>
Fri, 2 Jan 2015 12:30:45 +0000 (12:30 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 2 Jan 2015 12:30:45 +0000 (12:30 +0000)
commit11f699c5e201a1336c584031524097890c3cb090
tree289bb2beed854b3c7b1a08e3cfdbbb09ea19e7f7
parentb803619633b47e09895c24f4cfb35d50a3052141
When syslogd was sending via TCP, there was file descriptor leak
and a use after free if it received a SIGHUP.  Call bufferevent_free()
to deactivate the callbacks and close the TCP socket.
OK jasper@ deraadt@
usr.sbin/syslogd/syslogd.c