Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250325210519.GM1827@brightrain.aerifal.cx>
Date: Tue, 25 Mar 2025 17:05:19 -0400
From: Rich Felker <dalias@...c.org>
To: Nick Wellnhofer <wellnhofer@...um.de>
Cc: musl@...ts.openwall.com,
	"Haelwenn (lanodan) Monnier" <contact@...ktivis.me>
Subject: Re: [PATCH] limits.h: define GETENTROPY_MAX

On Tue, Mar 25, 2025 at 10:51:25AM +0100, Nick Wellnhofer wrote:
> On Mar 24, 2025, at 23:22, Haelwenn (lanodan) Monnier <contact@...ktivis.me> wrote:
> > 
> > + if (len > GETENTROPY_MAX) {
> > errno = EIO;
> > return -1;
> > }
> 
> POSIX requires EINVAL instead of EIO, so maybe this should be fixed as well.

Yes, but separate change.

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.