summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-28 12:46:31 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-28 12:46:31 +0100
commit58fb834a6ea3698ec6d89cb07e543d088dc69c00 (patch)
tree6967fefac4b493731a7b3dde630facc7cebd4e85 /indra
parent6f8e96159a59b3e519cf7a5abba3ae34abcab725 (diff)
CID-443
Checker: FORWARD_NULL Function: LLBasicCertificateVector::BasicIteratorImpl::equals(const LLPointer<LLCertificateVector::iterator_impl> &) const File: /indra/newview/llsechandler_basic.h
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llsechandler_basic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llsechandler_basic.h b/indra/newview/llsechandler_basic.h
index 4bbb73f062..407e74ad00 100644
--- a/indra/newview/llsechandler_basic.h
+++ b/indra/newview/llsechandler_basic.h
@@ -116,6 +116,8 @@ public:
virtual bool equals(const LLPointer<iterator_impl>& _iter) const
{
const BasicIteratorImpl *rhs_iter = dynamic_cast<const BasicIteratorImpl *>(_iter.get());
+ llassert(rhs_iter);
+ if (!rhs_iter) return 0;
return (mIter == rhs_iter->mIter);
}
virtual LLPointer<LLCertificate> get()