Hi, Yes defaults. Starting at 4:52 of this YouTube video you will see this fellow determine that his code also has the strlen problem with malloc: http://www.youtube.com/watch?v=fvTsFjDuag8
Bye, Gene Fortanely | Freescale Semiconductor -----Original Message----- From: David Faure [mailto:fa...@kde.org] Sent: Tuesday, January 14, 2014 10:05 AM To: valgrind-users@lists.sourceforge.net Cc: Samuel Quiring Subject: Re: [Valgrind-users] Best valgrind options for finding corrupt memory On Tuesday 14 January 2014 08:03:14 Samuel Quiring wrote: > Greetings, > > I suspect my program is corrupting (overwriting) memory, e.g., > malloc'ing 16 bytes for a string that is 17 bytes when you count the > nul, then copying 17 bytes into the 16 byte area. What are the best > valgrind options for detecting memory corruption? The default options :-) (memcheck tool) -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE, in particular KDE Frameworks 5 ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users