Don't use ibuf_open(0) as test. 0 lenght ibufs make little sense and
authorclaudio <claudio@openbsd.org>
Tue, 23 May 2023 09:32:37 +0000 (09:32 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 23 May 2023 09:32:37 +0000 (09:32 +0000)
commitfc405d53b73a2d73393cb97f684863d17b583e38
tree1662c0156722dd2927b9883e3207b0b42ea4184b
parenta5a54c4aaf28bec7298ad72e36644c52bd917f29
Don't use ibuf_open(0) as test. 0 lenght ibufs make little sense and
result in a malloc(0) call which is no bueno. Use ibuf_open(1) instead.
OK miod@
regress/lib/libutil/imsg/ibuf_test.c