CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/04/23 02:57:52
Modified files:
lib/libutil : imsg-buffer.c
regress/lib/libutil: Makefile
Added files:
regress/lib/libutil/imsg: Makefile ibuf_test.c
Log message:
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
