[LCP]Address out of bounds error on Linux 7.3
Vincent.Penquerch at artworks.co.uk
Tue Aug 19 23:53:01 UTC 2003
To follow up Mike/Penny's explanations, you might want to try
Electric Fence (libefence), which can allocate your memory at a
page boundary, so you can be caught by OOB accesses reliably
(or almost, as you'll have to run twice, to allocate your memory
at start of page and end of page, meaning you may miss some if
your program isn't determinist (eg user input, timer, etc affects
Valgrind is also very useful.
Libs like Fortify also catch plenty of off by one errors early
in the programming.
More information about the linuxCprogramming