[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Crash in make_copy_txn()

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 10 Sep 2015 15:39:06 +0200

> -----Original Message-----
> From: Ivan Zhakov [mailto:ivan_at_visualsvn.com]
> Sent: donderdag 10 september 2015 14:58
> To: dev_at_subversion.apache.org
> Subject: Crash in make_copy_txn()
>
> TortoiseSVN crash reporter service has several crashes in
> libsvn_wc/wc_db.c:make_copy_txn():
> [[[
> SVN_ERR(svn_wc__db_base_get_info_internal(NULL, &kind, &revision,
> &repos_relpath, &repos_id, NULL,
> NULL, NULL, NULL, NULL, NULL, NULL,
> NULL, NULL, NULL,
> wcroot, local_relpath,
> scratch_pool, scratch_pool));
>
> if (last_repos_relpath
> && repos_id == last_repos_id
> && revision == last_revision)
> {
> const char *name = svn_relpath_skip_ancestor(last_repos_relpath,
> repos_relpath);
>
> if (strcmp(name, svn_relpath_basename(local_relpath, NULL)) == 0)
> ^^^^^^^^^^ crash here.
> op_depth = last_op_depth;
> }
> ]]]

Reproduced and fixed with r1702247.

        Bert
Received on 2015-09-10 15:39:23 CEST

This is an archived mail posted to the Subversion Dev mailing list.