On 11/10/2010 01:19 PM, Daniel Shahaf wrote: > [email protected] wrote on Wed, Nov 10, 2010 at 18:08:17 -0000: >> + err = svn_fs_recover(REPO_NAME, NULL, NULL, pool); >> + if (! err) >> + return svn_error_create(SVN_ERR_TEST_FAILED, NULL, >> + "Expected SVN_ERR_FS_CORRUPT error; got none"); >> + if (err->apr_err != SVN_ERR_FS_CORRUPT) >> + return svn_error_create(SVN_ERR_TEST_FAILED, err, >> + "Expected SVN_ERR_FS_CORRUPT error; got:"); > > Suppose err->apr_err == SVN_ERR_FS_CORRUPT, won't that leak the error?
Yup. Fixed in r1033632. (Thanks.) -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature

