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

Patch - strings not terminated on edge cases, other minor fixes

From: Dmitry <wipedout_at_yandex.ru>
Date: Sat, 05 Mar 2011 16:19:41 +0300

Hey.

Attached is an untested patch that addresses
- the fact that GetModuleHandle() doesn't null-terminate the string if there's no room for that
- use of hardcoded constants instead of _counof()
- no check for null pointer before dereferencing the pointer

Best wishes.
Dmitry.

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

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

Received on 2011-03-05 14:19:47 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.