Suspicious code in SVNStatusListCtrl
From: Dmitry <wipedout_at_yandex.ru>
Date: Wed, 19 Jan 2011 09:38:26 +0300
Hey.
CSVNStatusListCtrl::OnLvnGetInfoTip() currently contains the following line of code:
if (GetListEntry(pGetInfoTip->iItem >= 0))
which looks suspicious. "pGetInfoTip->iItem >= 0" evaluates to either 0 or 1 so GetListEntry() will try to retrieve one of those entries and maybe will return a null pointer.
Is that really what is intended here?
Best wishes.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
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.