diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-11-13 00:11:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-11-13 00:11:53 +0000 |
commit | 507f8a99582dde5192dd23d99933cfb8a68f8356 (patch) | |
tree | 7afa8227467ade1d5bfbbcc7fa75e5e41abf3e8a /distrib/sets/lists/base/md.pmax | |
parent | a5420c4fcedf5a05a4ec00e6bd0af893766df47c (diff) |
from chuq@chuq.com: several fixes to copy{in,out,}str() from charles
and myself: don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates. avoid crashing
if the userspace address is >= KERNBASE. make sure *done is 0 when no
bytes are copied.
Diffstat (limited to 'distrib/sets/lists/base/md.pmax')
0 files changed, 0 insertions, 0 deletions