[Pkg-bluetooth-commits] r1508 - in /packages/bluez/trunk/debian: changelog patches/0004-agent-Assert-possible-infinite-loop.patch

iwamatsu at users.alioth.debian.org iwamatsu at users.alioth.debian.org
Mon Oct 24 20:47:20 UTC 2016


Author: iwamatsu
Date: Mon Oct 24 20:47:20 2016
New Revision: 1508

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=1508
Log:
Add patches/0004-agent-Assert-possible-infinite-loop.patch

Added:
    packages/bluez/trunk/debian/patches/0004-agent-Assert-possible-infinite-loop.patch
Modified:
    packages/bluez/trunk/debian/changelog

Modified: packages/bluez/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/changelog?rev=1508&op=diff
==============================================================================
--- packages/bluez/trunk/debian/changelog	(original)
+++ packages/bluez/trunk/debian/changelog	Mon Oct 24 20:47:20 2016
@@ -2,7 +2,12 @@
 
   * Update to 5.41.
   * Update debian/rules.
-    - Add --list-missing option to dh_install
+    - Add --list-missing option to dh_install.
+  * Update debian/patches
+    - Add patches/0002-autopair-Don-t-handle-the-iCade.patch.
+      iCade support by autopair.
+    - Add patches/0004-agent-Assert-possible-infinite-loop.patch.
+      Show assert if possible infinite loop.
 
  -- Nobuhiro Iwamatsu <iwamatsu at debian.org>  Sat, 01 Oct 2016 08:17:01 +0900
 

Added: packages/bluez/trunk/debian/patches/0004-agent-Assert-possible-infinite-loop.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/patches/0004-agent-Assert-possible-infinite-loop.patch?rev=1508&op=file
==============================================================================
--- packages/bluez/trunk/debian/patches/0004-agent-Assert-possible-infinite-loop.patch	(added)
+++ packages/bluez/trunk/debian/patches/0004-agent-Assert-possible-infinite-loop.patch	Mon Oct 24 20:47:20 2016
@@ -0,0 +1,23 @@
+From: Bastien Nocera <hadess at hadess.net>
+Date: Mon, 9 Dec 2013 18:04:56 +0100
+Subject: [PATCH 4/5] agent: Assert possible infinite loop
+
+---
+ src/agent.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/agent.c b/src/agent.c
+index bcba969..b292881 100644
+--- a/src/agent.c
++++ b/src/agent.c
+@@ -203,6 +203,8 @@ void agent_unref(struct agent *agent)
+ 	if (agent->ref > 0)
+ 		return;
+ 
++	g_assert (agent->ref == 0);
++
+ 	if (agent->request) {
+ 		DBusError err;
+ 		agent_pincode_cb pincode_cb;
+-- 
+1.8.4.2




More information about the Pkg-bluetooth-commits mailing list