Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 20 May 2014 02:19:04 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: thoughts on reallocarray, explicit_bzero?

On Mon, May 19, 2014 at 06:19:11PM +0200, Daniel Cegiełka wrote:
> 2014-05-19 17:43 GMT+02:00 Rich Felker <dalias@...c.org>:
> 
> >>
> >> Should musl provide reallocarray()?
> >
> > I don't think so; there's no precedent for it yet except OpenBSD.
> > LibreSSL should just add a fallback implementation (trivial to write
> > as a wrapper to realloc) for all non-OpenBSD systems that lack it.
> 
> The problem is that these functions are now used everywhere in
> openbsd's repo., so it's not just LibreSSL but ed, pax, mandoc, m4,
> (open)ssh, (open)smtpd, etc.

It looks like glibc is willing to add reallocarray, so that makes at
least two systems now. If there's demand maybe we should add it.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.