Make sure we receive what we expect over imsg.
authorflorian <florian@openbsd.org>
Sat, 18 Dec 2021 10:34:19 +0000 (10:34 +0000)
committerflorian <florian@openbsd.org>
Sat, 18 Dec 2021 10:34:19 +0000 (10:34 +0000)
commit159ce6f47fcc91337d08d542439ca72e66e6b411
tree2afd43ccc9f290fb3d24f53577a02d73844dba2e
parentaa1f5e88b9f25d37a64fae5fa07bf271e892f209
Make sure we receive what we expect over imsg.

Instead of repairing potential garbage ensure that we receive proper C
strings. Inspired by a similar diff by deraadt@ for ldapd.
sbin/dhcpleased/engine.c
sbin/unwind/resolver.c
sbin/unwind/unwind.c