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

Re: [PATCH]: Fix for the Memory Exception when UDiff is saved

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 29 Dec 2009 18:24:51 +0100

On Tue, Dec 29, 2009 at 18:24, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On 29.12.2009 17:08, Ramasubramanian Sambamurthy wrote:
>>
>> Log:
>>
>> Resolved Memory Access Violation Exception thrown, when “Save as” option
>> is used from “Show Unified Diff” command.
>>
>> * TortoiseSVN/src/TortoiseUDiff/MainWindow.cpp:
>>
>>    (SaveFile)
>>
>>
>>
>> Proper Type casting is done for the variable “data” which is to be
>> written in a file.
>
> I don't understand: how can a simple typecast prevent an access violation?

Never mind - I got it.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2433647
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-29 18:25:22 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.