Re: Unitialised memory mergeinfo-test 6, 16 and diff-diff3-test 15

2013-03-25 Thread Philip Martin
Philip Martin writes: > $ valgrind -q .libs/lt-mergeinfo-test 6 > ==6075== Invalid read of size 8 > ==6075==at 0x4C2B5A0: memmove (mc_replace_strmem.c:981) > ==6075==by 0x507A989: svn_rangelist__combine_adjacent_ranges > (mergeinfo.c:653) Fixed this with r1460763. -- Philip

Unitialised memory mergeinfo-test 6, 16 and diff-diff3-test 15

2013-03-25 Thread Philip Martin
I've been experimenting with GCC's address sanitizer which is a tool for catching memory problems. It has identified some uses of uninitialised memory. valgrind also detects problems at the same places: $ valgrind -q .libs/lt-mergeinfo-test 6 ==6075== Invalid read of size 8 ==6075==at 0x4C2B