Lack of validation in svn_repos_open()
From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-12-06 18:31:22 CET
On Tue, Dec 06, 2005 at 05:37:23PM +0100, Mathias Weinert wrote:
This is a bug in the Subversion libraries - we should never abort()
See attached testcase: it looks like svn_repos_open() (at least) needs
$ ./svn_repos_open_assert
Regards,
#include <stdio.h>
int main (int argc, char **argv[])
if (svn_cmdline_init ("minimal_client", stderr) != EXIT_SUCCESS)
err = svn_repos_open(&repos, "repo/", svn_pool_create (NULL));
printf ("opened repos okay.\n");
---------------------------------------------------------------------
|
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.