History log of /openbsd-src/regress/lib/libutil/imsg/ibuf_test.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 8dfe2149 29-Dec-2023 claudio <claudio@openbsd.org>

There is no need to include sys/uio.h here.


# 00562ee7 19-Jun-2023 claudio <claudio@openbsd.org>

Drop test for msgbuf_drain() since that function is no longer part of the
public API.


# 820acc68 13-Jun-2023 tb <tb@openbsd.org>

Some KNF nits


# fc405d53 23-May-2023 claudio <claudio@openbsd.org>

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@


# c1a45aed 23-Apr-2022 tobias <tobias@openbsd.org>

Verify sizes before arithmetic operations

Unsigned overflows are not a bug in C but we have to make sure that
requested buffer sizes will be actually available.

If not, set errno to ERANGE and retu

Verify sizes before arithmetic operations

Unsigned overflows are not a bug in C but we have to make sure that
requested buffer sizes will be actually available.

If not, set errno to ERANGE and return an error value.

ok deraadt, millert

show more ...