Evgeny Kotkov evgeny.kot...@visualsvn.com writes:
Fix the out-of-bounds memory access in test_string_matching_test. Follow-up
to r1505336.
* subversion/tests/libsvn_subr/string-test.c
(test_string_matching): Correctly initialize the 'max_match' value to avoid
out-of-bounds memory
Hi,
I've noticed that the test 'test_string_matching' introduced in r1505336 [1]
violates the contracts of the svn_cstring__match_length and
svn_cstring__reverse_match_length functions:
[[[
Return the number of bytes before A and B that don't differ. If no
difference can be found in the
2 matches
Mail list logo