[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

valgrind warning on prefix-string-test

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 19 Jan 2015 14:43:42 +0000

$ valgrind -q .libs/lt-prefix-string-test
==21219== Invalid write of size 8
==21219== at 0x40B9202: svn_prefix_string__expand (prefix_string.c:272)
==21219== by 0x400B3F: test_empty_string (prefix-string-test.c:51)
==21219== by 0x403C173: do_test_num (svn_test_main.c:426)
==21219== by 0x403D452: svn_test_main (svn_test_main.c:949)
==21219== by 0x4011A9: main (prefix-string-test.c:154)
==21219== Address 0x6458458 is 0 bytes after a block of size 8 alloc'd
==21219== at 0x402C1F0: malloc (vg_replace_malloc.c:291)
==21219== by 0x41D3EEB: pool_alloc (apr_pools.c:1463)
==21219== by 0x41D40A4: apr_pcalloc_debug (apr_pools.c:1520)
==21219== by 0x40B91EA: svn_prefix_string__expand (prefix_string.c:270)
==21219== by 0x400B3F: test_empty_string (prefix-string-test.c:51)
==21219== by 0x403C173: do_test_num (svn_test_main.c:426)
==21219== by 0x403D452: svn_test_main (svn_test_main.c:949)
==21219== by 0x4011A9: main (prefix-string-test.c:154)

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-01-19 15:44:11 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.