|
Message-ID: <CAHmME9o4C_G2CvmE-K8HVbZCbvdDUKp0XHJ0C28mmTs_zywGTw@mail.gmail.com> Date: Sun, 10 Apr 2022 00:50:07 +0200 From: "Jason A. Donenfeld" <Jason@...c4.com> To: dalias@...c.org Cc: musl@...ts.openwall.com Subject: Re: [PATCH] getentropy: fail if buffer not completely filled Hi Rich, I can get rid of the <= case. glibc's paranoia might not actually make sense. Actually, presumably one can just get rid of the entire loop, assuming the < 256 guarantee continues to hold. I'll send you two patches, one that moderately fixes up this v1 (called v2) and one that gets rid of the loop entirely (v3). Jason
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.