Always check the return value of proc_composev_imsg() and handle failures
authorjsing <jsing@openbsd.org>
Sat, 11 Apr 2015 14:52:49 +0000 (14:52 +0000)
committerjsing <jsing@openbsd.org>
Sat, 11 Apr 2015 14:52:49 +0000 (14:52 +0000)
commit59ac4ec777e796070c97c94d0d6db31e5ed4b283
tree860eb711d599e52f87fb7e0b23230cc8f8ff2396
parent60ec8c52146714cb0b302a322253c985aa1ec8be
Always check the return value of proc_composev_imsg() and handle failures
appropriately. Otherwise imsg construction can silently fail, resulting in
non-obvious problems.

Found the hard way by Theodore Wynnychenko.

ok doug@ florian@
usr.sbin/httpd/config.c
usr.sbin/httpd/logger.c
usr.sbin/httpd/server.c