Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.13.1707062014180.21060@monopod.intra.ispras.ru>
Date: Thu, 6 Jul 2017 20:17:32 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: Documentation of memcpy and undefined behavior in
 memset

On Thu, 6 Jul 2017, Rich Felker wrote:

> If p points to one past the end of an object that ends on a page
> boundary, this transformation could introduce a crash.

The object beginning at p (i.e. the array beginning just after the
array which p was derived from) could be volatile, making that an
invalid transformation. Nothing gives the compiler a guarantee
that that area is non-volatile.

Alexander

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.