Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221228120643.txqcsrlok2i7qf5h@gen2.localdomain>
Date: Wed, 28 Dec 2022 18:06:43 +0600
From: NRK <nrk@...root.org>
To: musl@...ts.openwall.com
Subject: Re: Bug in swab

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]: https://man7.org/linux/man-pages/man3/swab.3p.html

- NRK

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.