Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <ED53F517-0827-40E2-8B57-1586DCD812BF@aevum.de>
Date: Tue, 25 Mar 2025 10:51:25 +0100
From: Nick Wellnhofer <wellnhofer@...um.de>
To: musl@...ts.openwall.com
Cc: "Haelwenn (lanodan) Monnier" <contact@...ktivis.me>
Subject: Re: [PATCH] limits.h: define GETENTROPY_MAX

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.

Nick


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.