projects
/
framework
/
osp
/
social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
158697c
)
add null check code for prevent
author
Gwangbok Kim
<gwangbok.kim@samsung.com>
Wed, 3 Apr 2013 12:33:03 +0000
(21:33 +0900)
committer
Gwangbok Kim
<gwangbok.kim@samsung.com>
Wed, 3 Apr 2013 12:33:03 +0000
(21:33 +0900)
Change-Id: I45302653a9171e547003026f26b22f083b216b44
Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
src/FScl_UserProfileImpl.cpp
patch
|
blob
|
history
diff --git
a/src/FScl_UserProfileImpl.cpp
b/src/FScl_UserProfileImpl.cpp
index
2204c8e
..
608ac6a
100644
(file)
--- a/
src/FScl_UserProfileImpl.cpp
+++ b/
src/FScl_UserProfileImpl.cpp
@@
-132,6
+132,11
@@
_UserProfileImpl::Equals(const Object& rhs) const
{
const _UserProfileImpl* pRhs = dynamic_cast<const _UserProfileImpl*>(&rhs);
+ if (pRhs == null)
+ {
+ return false;
+ }
+
//compare single value properties
if (this->GetValue(USER_PROFILE_PROPERTY_ID_FIRST_NAME) != pRhs->GetValue(USER_PROFILE_PROPERTY_ID_FIRST_NAME))
{