diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2022-04-23 08:57:53 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2022-04-23 08:57:53 +0000 |
commit | 61e697b9f27beeed025e086558ed79ad05fae595 (patch) | |
tree | 3852d358be58486a571840d5541c76a98135c9f5 /lib/libssl | |
parent | f1150915c1d18b3476ae27cc0fabc2af5f1cef6f (diff) |
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
Diffstat (limited to 'lib/libssl')
0 files changed, 0 insertions, 0 deletions