diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-06-17 16:28:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-06-17 16:28:59 +0000 |
commit | 7ddb98bd40352576ff3082eb7155b17f6593f09c (patch) | |
tree | 1458c8c120245423f43e4b1e8413a7b41f5a2b5c /bin | |
parent | 3e55ba6b14b7ae42658d4e6a14a60ca9ab158f1d (diff) |
When finding the end of dst, never traverse more than siz bytes. This
keeps us from misbehaving if the user gives us a src string that is not
NUL-terminated. This is one of those "should not happen" cases but it
is good to play it safe. Pointed out by Casper Dik <casper@holland.sun.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions