Comment #6 on issue 348 by [email protected]: asan does not always
detect access beyond mmaped page
https://code.google.com/p/address-sanitizer/issues/detail?id=348
Yeah, the limit on the number of mappings with different permissions
appears to be quite strict:
http://lxr.free-electrons.com/source/include/linux/sched/sysctl.h#L34
(that's 2^16-5).
IMO we'd better not change the behavior of mmap(), because there's a number
of corner cases when the users don't want that. If we do that solely for
libc (i.e. if __NR_mmap remains unintercepted) we'll have all sorts of
mixed {mmap,munmap}_{with,without}_redzone() calls for the same pages
that'll end up corrupting something.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.