Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200803151511.sijyhgkdqugxxzkm@wolfsden.cz>
Date: Mon, 3 Aug 2020 17:15:11 +0200
From: Wolf <wolf@...fsden.cz>
To: musl@...ts.openwall.com
Cc: Ariadne Conill <ariadne@...eferenced.org>
Subject: Re: [PATCH v4] implement recallocarray(3)


On 2020-08-03 17:11:50 +0200, Wolf wrote:
> From reading openbsd's source I would say this should return 0 (or
> newptr), not ptr. Otherwise I'm not sure how the caller could tell if
> the resize failed or not.

Or not, please ignore. I've got confused.

W.

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

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.