summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2007-05-29 23:03:20 +0000
committertom <tom@openbsd.org>2007-05-29 23:03:20 +0000
commit8f6cca526d5ce208ff48842693f3b10bf9544acb (patch)
treee751073da79c8bf51c1ef7e678deff75ade1bcc5 /usr.bin/diff/diff.h
parentImprove copyinstr and copyoutstr by performing the check against (diff)
downloadwireguard-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