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

Patch - Checks for null pointers and initializing local variables

From: Dmitry <wipedout_at_yandex.ru>
Date: Mon, 06 Dec 2010 13:21:24 +0300

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.

Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2688161

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2010-12-06 11:21:32 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.