From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27974 invoked from network); 24 Jul 2020 18:56:02 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 24 Jul 2020 18:56:02 -0000 Received: (qmail 1594 invoked by uid 550); 24 Jul 2020 18:55:58 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1573 invoked from network); 24 Jul 2020 18:55:58 -0000 Date: Fri, 24 Jul 2020 14:55:45 -0400 From: Rich Felker To: musl@lists.openwall.com Message-ID: <20200724185545.GG6949@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] [PATCH] getentropy: fix UB if len==0 On Fri, Jul 17, 2020 at 01:27:21AM +0200, Bartosz Brachaczek wrote: > Patch attached. Thanks. Indeed nothing in the spec seems to rule this out, so it should be supported, even though it's arguably useless. Rich