/[gentoo-x86]/net-wireless/bluez/files/0004-agent-Assert-possible-infinite-loop.patch
Gentoo

Contents of /net-wireless/bluez/files/0004-agent-Assert-possible-infinite-loop.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Feb 16 19:17:40 2014 UTC (8 months, 2 weeks ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Apply some Fedora patches that also fix Logitech DiNovo Edge keyboard (#501120 by manwe)

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 From 67e5477687a2753d3f7b300bcfdc74464d8ad41f Mon Sep 17 00:00:00 2001
2 From: Bastien Nocera <hadess@hadess.net>
3 Date: Mon, 9 Dec 2013 18:04:56 +0100
4 Subject: [PATCH 4/5] agent: Assert possible infinite loop
5
6 ---
7 src/agent.c | 2 ++
8 1 file changed, 2 insertions(+)
9
10 diff --git a/src/agent.c b/src/agent.c
11 index bcba969..b292881 100644
12 --- a/src/agent.c
13 +++ b/src/agent.c
14 @@ -203,6 +203,8 @@ void agent_unref(struct agent *agent)
15 if (agent->ref > 0)
16 return;
17
18 + g_assert (agent->ref == 0);
19 +
20 if (agent->request) {
21 DBusError err;
22 agent_pincode_cb pincode_cb;
23 --
24 1.8.4.2

  ViewVC Help
Powered by ViewVC 1.1.20