"Richard L. Hamilton" <rlha...@smart.net> wrote:

> Attached is the test program I used; if you can think of some way to detect
> accesses of bytes beyond the permitted ones _within_ the last word, feel free
> to change it.

I'll look at it. If you like to check for overshooting, you would need to 
create non-null terminated strings that end on a page boundary and call 
strnlen() with a length parameter that ends on the last char in the page.
If then the strlen is modified, it may be that overshooting happens.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to