diff options
author | 2007-05-29 23:03:20 +0000 | |
---|---|---|
committer | 2007-05-29 23:03:20 +0000 | |
commit | 8f6cca526d5ce208ff48842693f3b10bf9544acb (patch) | |
tree | e751073da79c8bf51c1ef7e678deff75ade1bcc5 /usr.bin/diff/diff.h | |
parent | Improve copyinstr and copyoutstr by performing the check against (diff) | |
download | wireguard-openbsd-8f6cca526d5ce208ff48842693f3b10bf9544acb.tar.xz wireguard-openbsd-8f6cca526d5ce208ff48842693f3b10bf9544acb.zip |
Improve copyinstr and copyoutstr by erroring out when the userland
pointer is VM_MAXUSER_ADDRESS right up front, rather than when
startig the loop. This is how it is done on i386.
ok weingart@ art@
Diffstat (limited to 'usr.bin/diff/diff.h')
0 files changed, 0 insertions, 0 deletions