On Sat, Feb 22, 2014 at 08:49:38AM +0100, Andreas Schwab wrote:
> David Fries writes:
>
> > The attached program sets up and reads through the array with extra
> > padding at the of the array from 8 bytes to 0 bytes. Padding from 4
> > to 0 crashes.
>
> This p
with extra
padding at the of the array from 8 bytes to 0 bytes. Padding from 4
to 0 crashes. There are some #defines to make it easy to use malloc
vs mmap, use munmap or mprotect to make the next page not accessible.
--
David Fries PGP pub CB1EE8F0
http://fries.net/~david/
//#define __USE_MISC