Replace a ibuf_reserve() dance to add a NUL byte with ibuf_add_zero(buf, 1).
authorclaudio <claudio@openbsd.org>
Tue, 20 Jun 2023 09:54:57 +0000 (09:54 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 20 Jun 2023 09:54:57 +0000 (09:54 +0000)
commitf69b700df7b6b473826639377fbb0ea569e5b2cc
treefacc31e47172109753db2a1ef2be16f77dd7e79d
parent2779d271b13008faba709b27a35c1042ae7b0d4f
Replace a ibuf_reserve() dance to add a NUL byte with ibuf_add_zero(buf, 1).
Same thing but far less nasty.
OK tb@
usr.sbin/relayd/check_tcp.c