glib2:svace for gkdbus 37/63737/1 accepted/tizen/common/20160331.125859 accepted/tizen/ivi/20160328.115425 accepted/tizen/mobile/20160328.115252 accepted/tizen/tv/20160328.115318 accepted/tizen/wearable/20160328.115357 submit/tizen/20160325.112342 submit/tizen/20160328.051919 submit/tizen_common/20160329.152300
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 25 Mar 2016 11:18:25 +0000 (20:18 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 25 Mar 2016 11:18:38 +0000 (20:18 +0900)
Change-Id: Ieb227a765f3fa3fa8c3ad858beaaeb45aa01628a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
gio/gkdbus.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 33c152e..fe4085e
@@ -1620,7 +1620,7 @@ g_kdbus_bloom_add_data (GKDBusWorker  *worker,
   guint c = 0;
   guint64 p = 0;
 
-  bit_num = worker->bloom_size * 8;
+  bit_num = (guint64)worker->bloom_size * 8;
 
   if (bit_num > 1)
     bytes_num = ((__builtin_clzll(bit_num) ^ 63U) + 7) / 8;
@@ -1888,7 +1888,6 @@ _g_kdbus_RemoveMatch (GKDBusWorker  *worker,
                    G_DBUS_ERROR,
                    G_DBUS_ERROR_MATCH_RULE_INVALID,
                    "Invalid rule: %s", match_rule);
-      match_free (match);
       return FALSE;
     }
 
@@ -2769,7 +2768,7 @@ g_kdbus_decode_dbus_msg (GKDBusWorker      *worker,
         /* [libdbuspolicy] read security label value */
         case KDBUS_ITEM_SECLABEL:
 
-          if (item->str != NULL)
+          /*if (item->str != NULL)*/
             kmsg->sender_seclabel = g_strdup (item->str);
 
           break;