On 12/01/2009 02:40 PM, Gerd Hoffmann wrote:

Even more advanced: Make zero_length_malloc page-sized and page-aligned, then munmap int, so dereferencing it actually traps.

That will cause vma fragmentation. Since we don't trap malloc(n)[n] for n > 0, we may as well not trap it for n = 0.

--
error compiling committee.c: too many arguments to function



Reply via email to