plug a fd leak in read_errdoc if fstat fails or if the file is empty
authorop <op@openbsd.org>
Mon, 15 Aug 2022 09:36:19 +0000 (09:36 +0000)
committerop <op@openbsd.org>
Mon, 15 Aug 2022 09:36:19 +0000 (09:36 +0000)
commitdabb292335db8bf08f01d618bdfe739077955391
treeeffea87ef4d5171dab2a0be683e6944319060ae8
parent7985bfd0a068dc874e13da550e9053a23be063a0
plug a fd leak in read_errdoc if fstat fails or if the file is empty

tweak/ok tb@
usr.sbin/httpd/server_http.c