Subject: Re: CVS commit: src/lib/libc/arch/x86_64/string
To: Simon Burge <simonb@wasabisystems.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: source-changes
Date: 07/28/2004 16:00:28
simonb@wasabisystems.com said:
> > fix alignment check for source
> > should fix PR port-amd64/26416 by Nicolas Joly
> 
> Can we construct a regression test for this?

It is not so easy - the bug only became visible with
electricfence. (which puts an unmapped page just behind
the end of malloc()ed memory)
We'd have to mimic this for the test, using mmap()/mprotect()
or so.
When I have time...

> it wasn't too easy to track down...

If you look at the fix you'll see that it was a very simple
bug... I should have spotted it before:-(

best regards
Matthias