[Tizen-submit] 21449: Changes to Tizen:IVI/message-port

noreply at tizen.org noreply at tizen.org
Wed Feb 19 08:11:16 GMT 2014


Hi,
Amarnath Valluri have made the following changes to message-port in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21449

  submit:       Tizen:IVI:build/message-port(cleanup) -> Tizen:IVI


Message:
Submitter: Amarnath Valluri <amarnath.valluri at linux.intel.com>
Comments: Relase v1.0.2
Git project: profile/ivi/message-port
Tag: submit/tizen/20140219.081049
Commit: 89deb20de2366897a4b53e264a56b8071d2ad2ce Bump release : v1.0.2

State:   new        2014-02-19T08:10:50 tizenrobot
Comment: <no comment>
changes files:
--------------

old:
----
  message-port-1.0.1.tar.gz

new:
----
  message-port-1.0.2.tar.gz

spec files:
-----------
--- message-port.spec
+++ message-port.spec
@@ -4,10 +4,10 @@
 %define systemddir /lib/systemd
 
 Name: message-port
-VCS:  profile/ivi/message-port#feeef6c266f9c9912db96ef1f564528ef62a19eb
+VCS:  profile/ivi/message-port#89deb20de2366897a4b53e264a56b8071d2ad2ce
 Summary: Message port daemon
-Version: 1.0.1
-Release: 2
+Version: 1.0.2
+Release: 1
 Group: System/Service
 License: LGPL-2.1+
 Source0: %{name}-%{version}.tar.gz

other changes:
--------------

++++++ message-port-1.0.1.tar.gz -> message-port-1.0.2.tar.gz
--- daemon/dbus-manager.c
+++ daemon/dbus-manager.c
@@ -320,8 +320,10 @@
     gboolean is_valid_cert = FALSE;
 
     /* check if the source application has no certificate info */
-    if (dbus_manager->priv->is_null_cert)
+    if (dbus_manager->priv->is_null_cert) {
+        DBG("Service owner has no certifcate information, treating port as untrusted");
         return TRUE; /* allow all peers to connect */
+    }
 
     /* check if we have cached status */
     if (g_hash_table_contains (dbus_manager->priv->peer_certs, peer_app_id))
@@ -334,11 +336,15 @@
         return FALSE;
     }
 
-    if (compare_result == PMINFO_CERT_COMPARE_LHS_NO_CERT) {
+    if (compare_result == PMINFO_CERT_COMPARE_LHS_NO_CERT ||
+        compare_result == PMINFO_CERT_COMPARE_BOTH_NO_CERT) {
+        DBG("Service owner has no certifcate information, treating port as untrusted");
         dbus_manager->priv->is_null_cert = TRUE;
         return TRUE;
     }
 
+    DBG("certificate comparison result : %d", compare_result);
+
     is_valid_cert = (compare_result == PMINFO_CERT_COMPARE_MATCH) ;
     g_hash_table_insert (dbus_manager->priv->peer_certs, g_strdup (peer_app_id), (gpointer)is_valid_cert);
 
--- packaging/message-port.spec
+++ packaging/message-port.spec
@@ -5,8 +5,8 @@
 
 Name: message-port
 Summary: Message port daemon
-Version: 1.0.1
-Release: 2
+Version: 1.0.2
+Release: 1
 Group: System/Service
 License: LGPL-2.1+
 Source0: %{name}-%{version}.tar.gz


More information about the Tizen-submit mailing list