- SVACE : 279879, DEREF_OF_NULL.RET.PROC.STAT
Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I0ac9861b1afabc52ccd29c125f245414688d7c1c
const gchar *id;
id = g_dbus_method_invocation_get_sender(invocation);
+ if (id == NULL) {
+ _E("Current id is NULL");
+ return -1;
+ }
+
_ret = g_dbus_connection_call_sync(pb_data->connection,
"org.freedesktop.DBus",
"/org/freedesktop/DBus",
}
id = g_dbus_method_invocation_get_sender(invocation);
+ if (id == NULL) {
+ _E("Current id is NULL");
+ return -1;
+ }
+
if (strcmp(handle->client_info.id, id)) {
_E("Invalid access, handle id : %s, current id : %s", handle->client_info.id, id);
return -1;