The point is that when you use malloc, an attacker exploiting a buffer overrun can&#x27;t easily guess at the offset they need to find useful data. When you allocate everything in a big region, your process can be expected to read past the object bounds, so an attacker might be able to probe the address space (also the memory layout might be more deterministic). If they try to probe like that in a program that allocates with malloc, they&#x27;ll just segfault the program.