From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5131 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Daniel_Cegie=C5=82ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: thoughts on reallocarray, explicit_bzero? Date: Mon, 19 May 2014 18:19:11 +0200 Message-ID: References: <20140519153130.GA519@muslin> <20140519154302.GN507@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1400516395 6929 80.91.229.3 (19 May 2014 16:19:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2014 16:19:55 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5136-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 19 18:19:46 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WmQHw-0001FG-GN for gllmg-musl@plane.gmane.org; Mon, 19 May 2014 18:19:44 +0200 Original-Received: (qmail 19505 invoked by uid 550); 19 May 2014 16:19:43 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19497 invoked from network); 19 May 2014 16:19:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jhgas3OYuqJgeMILpfjJeEwTa4nxMMlBxevgxDvG8Lk=; b=ZZ+d292IpXYQbHPJjipUTcGRzA7EdvVYed+n9kq37SuIOm/jAK3GJLAstVkoazL02c X1KYRqUoIxZ2v7LO0VyeGYnqbCzl95vE5/uO85CS4YZrdWpN+yIb1pESOkJ2B5ixgEd2 3Xnk+IraKt36+z4OOMQfPqnDCZFDxeOKigqvmlRgltC3bcRU43R+H+7cAooPupcfk/Cl 6foctMdYOafrMyuReM38YBnrlJVSDS1JP2TRBwGlkLSzGFvETMT4L2eKlTaU/QmV2gHr fORdazKuXRgZSMVJD5qvlRWuBi7C3k1wpHwjvNPM0+E7Sws2nd57evuxRMv4gpewGIW4 ZwmQ== X-Received: by 10.140.36.149 with SMTP id p21mr48552439qgp.54.1400516371887; Mon, 19 May 2014 09:19:31 -0700 (PDT) In-Reply-To: <20140519154302.GN507@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:5131 Archived-At: 2014-05-19 17:43 GMT+02:00 Rich Felker : >> >> 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. Thanks, Daniel