#
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 ...
|