diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-03-14 08:07:18 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-03-14 08:07:18 +0000 |
commit | 183f395c63b798a875985b9650365756fd42f964 (patch) | |
tree | 80a9b227f7bbe11d2cedf48862b1693cb9a1973c /lib | |
parent | 189ab46be65d21170885b017db8682b54525da6a (diff) |
remove incorrect statement. the standard *does* require calloc to check
for overflow. stop talking about old broken systems, there's little use
for such info.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index fadf9e24d74..32f36bd6496 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -30,9 +30,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.89 2015/01/08 03:41:14 deraadt Exp $ +.\" $OpenBSD: malloc.3,v 1.90 2015/03/14 08:07:17 tedu Exp $ .\" -.Dd $Mdocdate: January 8 2015 $ +.Dd $Mdocdate: March 14 2015 $ .Dt MALLOC 3 .Os .Sh NAME @@ -437,11 +437,6 @@ other conforming implementations may return .Dv NULL in this case. .Pp -The standard does not require -.Fn calloc -to check for integer overflow, -but most modern implementations provide this check. -.Pp The .Ev MALLOC_OPTIONS environment variable, the file |