Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 29 Dec 2022 10:50:34 +0100
From: "Alex Xu (Hello71)" <>
Subject: Re: Bug in swab

Excerpts from NRK's message of December 28, 2022 1:06 pm:
> On Wed, Dec 28, 2022 at 05:01:53PM +0530, Bugs Reporter wrote:
>> This should also work for coinciding memories
>> and musl's implementation does not take that into account.
> The POSIX manpage declares the prototype of swab(3p) with the `restrict`
> qualifier [0]. So calling this function with overlapping memory region is
> not correct - the bug is in the calling code.
> [0]:
> - NRK

Actually, the originally linked also uses restrict. It 
was added in 2021:


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.