On Sun, Apr 13, 2014 at 9:38 AM, Ranjan Maitra wrote:
So, a valgrind -tool=memcheck --leak-check=yes --show-reachable=yes
--track-fds=yes --track-origins=yes would not have helped?
Correct. GCC -fstack-protecter-all might help. Also valgrind runs are costly so a lot of people don't use it despite being a very useful tool. GCC 4.9 (Rawhide) has a couple of options which can help