Changeset 33978 in project


Ignore:
Timestamp:
04/16/17 15:04:40 (3 months ago)
Author:
sjamaan
Message:

svn-client: Do not ignore deleted/added files, and fix error handling cleanup use after free in svn-diff (which nobody is using yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/svn-client/trunk/svn-client.scm

    r33976 r33978  
    343343
    344344  err = svn_client_diff6(diff_opts, path, rev1, path, rev2,
    345                          rel_path, depth, FALSE, TRUE, TRUE, FALSE,
     345                         rel_path, depth, FALSE, FALSE, FALSE, FALSE,
    346346                         FALSE, FALSE, FALSE, FALSE, APR_LOCALE_CHARSET,
    347347                         outstream, NULL, NULL, svn_ctx, tmp_pool);
    348   svn_pool_destroy(tmp_pool);
    349348  svn_stream_close(outstream);
    350349  apr_file_close(outfile);
    351350  if (err) {
    352351    apr_file_remove(template, tmp_pool);
     352    svn_pool_destroy(tmp_pool);
    353353    svn_handle_error2(err, stderr, FALSE, "svn: ");
    354354    svn_error_clear(err);
    355355    C_return(NULL);
    356356  }
     357  svn_pool_destroy(tmp_pool);
    357358  C_return(strdup(template));
    358359EOF
Note: See TracChangeset for help on using the changeset viewer.