mirror of
https://abf.rosa.ru/djam/bluez.git
synced 2025-02-23 07:02:54 +00:00
Revert version 5.48
This commit is contained in:
parent
b4310521e2
commit
f4743be385
1 changed files with 25 additions and 0 deletions
25
0004-agent-Assert-possible-infinite-loop.patch
Normal file
25
0004-agent-Assert-possible-infinite-loop.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From 67e5477687a2753d3f7b300bcfdc74464d8ad41f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Bastien Nocera <hadess@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
|
||||||
|
|
Loading…
Add table
Reference in a new issue