summaryrefslogtreecommitdiff
path: root/regress/sys/ptrace
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2022-04-23 08:57:53 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2022-04-23 08:57:53 +0000
commit61e697b9f27beeed025e086558ed79ad05fae595 (patch)
tree3852d358be58486a571840d5541c76a98135c9f5 /regress/sys/ptrace
parentf1150915c1d18b3476ae27cc0fabc2af5f1cef6f (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 'regress/sys/ptrace')
0 files changed, 0 insertions, 0 deletions