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

Re: Patch - Checks for null pointers and initializing local variables

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 06 Dec 2010 22:25:17 +0100

On 06.12.2010 11:21, Dmitry wrote:
> Hey.
>
> Attached is an untested patch that addresses two minor problems: dereferencing pointers without checking them for being non-null and passing uninitialized pointer as "out" parameters to COM methods. Both works most of time, but could backfire on some edge conditions.

Thanks!
Committed in r20582

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=2688275
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-12-06 22:25:33 CET

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