Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2018 15:51:09 +0100
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        freebsd-arch@freebsd.org
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>, "FreeBSD Current" <freebsd-current@freebsd.org>
Subject:   RFC: mallocarray()
Message-ID:  <070C0DEB-E70C-42D9-B734-E0735A6C9B8E@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi,

I’d like to make it easier to avoid integer overflow issues in the 
kernel.
It’d be a lot nicer to have a malloc function figure this out for us, 
so I’d like mallocarray().

https://reviews.freebsd.org/D13766

Are there any objections to this?

Regards,
Kristof



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?070C0DEB-E70C-42D9-B734-E0735A6C9B8E>