projects
/
platform
/
core
/
pim
/
calendar-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb0aa33
)
[svace] dereference null pointer
65/97065/2
submit/tizen_3.0/20161116.094536
author
Jeesun Kim
<iamjs.kim@samsung.com>
Fri, 11 Nov 2016 05:46:36 +0000
(14:46 +0900)
committer
Jeesun Kim
<iamjs.kim@samsung.com>
Mon, 14 Nov 2016 05:37:34 +0000
(14:37 +0900)
Change-Id: Ie6f3bc89745779ccabe2b98ed6bfc327578fe2ad
common/dbus/cal_dbus_helper.c
patch
|
blob
|
history
diff --git
a/common/dbus/cal_dbus_helper.c
b/common/dbus/cal_dbus_helper.c
index
a600f90
..
9288de0
100644
(file)
--- a/
common/dbus/cal_dbus_helper.c
+++ b/
common/dbus/cal_dbus_helper.c
@@
-90,6
+90,9
@@
GVariant* cal_dbus_utils_common_to_gvariant(cal_record_s *rec)
int cal_dbus_utils_gvariant_to_common(GVariant *arg_common, calendar_record_h *record)
{
+ RET_IF(NULL == record);
+ RET_IF(NULL == *record);
+
cal_record_s rec = {0};
GVariant *arg_flags = NULL;
g_variant_get(arg_common, "(i&suvy)",