Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 28 Dec 2022 18:06:43 +0600
From: NRK <>
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.



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.