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=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17947 invoked from network); 24 Apr 2023 15:23:30 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 24 Apr 2023 15:23:30 -0000 Received: (qmail 32362 invoked by uid 550); 24 Apr 2023 15:23:25 -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 32327 invoked from network); 24 Apr 2023 15:23:25 -0000 Date: Mon, 24 Apr 2023 11:23:12 -0400 From: Rich Felker To: Gabriel Ravier Cc: musl@lists.openwall.com, Bruno Haible Message-ID: <20230424152311.GR4163@brightrain.aerifal.cx> References: <5129919.jY9Djz4Zq0@nimes> <14500940.mzqWEpnEhh@nimes> <943e77cc-4776-9ae2-a984-84b95f2a24d0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <943e77cc-4776-9ae2-a984-84b95f2a24d0@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Re: wmemcmp and wcscmp returns incorrect results for some inputs, on most architectures On Tue, Apr 18, 2023 at 05:48:25PM +0200, Gabriel Ravier wrote: > On 4/18/23 17:40, Bruno Haible wrote: > >PS: I see that for wcscmp a correction has been added on 2023-01-04. > > The bug still exists in wmemcmp. > > > > > > > Yup, I forgot about wmemcmp after finding the bug in wcscmp and > wcsncmp (also, you might want to start testing wcsncmp if you're > testing this across various C libraries). I'll apply the same fix to wmemcmp.