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

segfault when updating with RC9

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 16 Jun 2008 21:09:05 +0200

Hi,

Crash report sent for TSVN indicates a problem when updating:

In file subversion\libsvn_wc\update_editor.c, function merge_file(),
line 2505 the statement:
                 oldrev_str = apr_psprintf(pool, ".r%ld%s%s",
                                           entry->revision,
                                           *path_ext ? "." : "",
                                           *path_ext ? path_ext : "");
can access a NULL entry object.
 From what I can see in the code, entry can be well NULL (there are
checks for that before), but there can be situations where such a NULL
entry don't cause the function returning an error but continue to that line.

I don't know exactly what situation causes this though, the crash dump
doesn't tell that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-16 21:09:39 CEST

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.