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

segfault when applying patch

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 03 Nov 2011 20:40:26 +0100

Hi,

A few crash dumps sent for TSVN 1.7 show a segfault when applying a patch.

in libsvn_client/patch.c, line 2703:

target_info = APR_ARRAY_IDX(targets_info, i, patch_target_info_t *);
parent = svn_dirent_dirname(target_info->local_abspath, iterpool);

the target_info->local_abspath is NULL, so svn_dirent_dirname() then
segfaults.

I haven't figured out why target_info->local_abspath is NULL though, but
maybe you have an idea?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2011-11-03 20:42:08 CET

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.