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

problem in log cache

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 11 Nov 2008 08:47:26 +0100

Stefan^2,

Please have a look at StringDictionary.cpp, line 229:

void CStringDictionary::Clear()
{
        packedStrings.clear();
        packedStringsStart = &packedStrings.at(0);
        offsets.clear();
        hashIndex.clear();

        Initialize();
}

The line
packedStringsStart = &packedStrings.at(0);
always crashes, because packeStrings was cleared the line before, and
the .at(0) then accesses a nothing...

Stefan

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

Received on 2008-11-11 08:47:40 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.