Re: [patch 1/1] make PROT_WRITE imply PROT_READ

Alan Cox
2006-09-15T10:36:54Z

Ar Gwe, 2006-09-15 am 10:06 +0200, ysgrifennodd Geert Uytterhoeven:
> The same can be said about not initializing local variables, using delete vs.
> delete [], ...: sometimes it works, sometimes it fails. It's still an
> application bug to rely on `may' behavior.

And as a result programmers have to resort to tools like valgrind. Even
valgrind can't save you in this case and AFAIK there is no debugging
tool for this problem.

Programming is *hard* (correct programming), don't make it any harder
when it is easy to make it more predictable. Murphy's law says that the
user who hits the actual bug will be on the other side of the globe,
busy and not speak the same language...

Alan