Hi All,

While implementing svn_ra_reparent() function in JavaHL, I created a test
that
sends string "BAD" uri to the reparent function (I am trying to make sure
JavaHL can't take the JVM down).  This causes segfault inside
uri_skip_ancestor() function of the line 1483 of the dirent_uri.c file:

  assert(svn_uri_is_canonical(child_uri, NULL));

which is called from svn_uri_skip_ancestor() function.

It seems a bit harsh to kill the whole JVM because caller passed a poorly
formed URI to a function, but I am not quite sure what would be the right
way of
addressing this. If someone could point me in a right direction I'll
prepare a
patch for review.

Thank you,

Vladimir

Reply via email to