diff options
author | andrew <andrew@FreeBSD.org> | 2015-09-09 11:51:14 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-09-09 11:51:14 +0000 |
commit | 1653ce1fd6ffe06526070bda0e24f4e637dc66f9 (patch) | |
tree | cd74b91f0b4c2bb0201806fa8450cbdedeaf5827 /contrib/libc++/src | |
parent | 0e29b6e367d93b2951cabcff2e2adff60a4629a4 (diff) | |
download | FreeBSD-src-1653ce1fd6ffe06526070bda0e24f4e637dc66f9.zip FreeBSD-src-1653ce1fd6ffe06526070bda0e24f4e637dc66f9.tar.gz |
Rework copyinstr to:
* Fail when the length passed in is 0
* Remove an unneeded increment of the count on success
* Return ENAMETOOLONG when the input pointer is too long
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'contrib/libc++/src')
0 files changed, 0 insertions, 0 deletions