[bluez/f20] Fix patch fuzz
Bastien Nocera
hadess at fedoraproject.org
Tue Dec 10 06:25:57 UTC 2013
commit 08e8fb342774637baf020e8b35fffff5b27479ba
Author: Bastien Nocera <hadess at hadess.net>
Date: Tue Dec 10 07:25:56 2013 +0100
Fix patch fuzz
...Fix-crash-when-SDP-record-isn-t-available.patch | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/0003-input-Fix-crash-when-SDP-record-isn-t-available.patch b/0003-input-Fix-crash-when-SDP-record-isn-t-available.patch
index 070a1e4..de22106 100644
--- a/0003-input-Fix-crash-when-SDP-record-isn-t-available.patch
+++ b/0003-input-Fix-crash-when-SDP-record-isn-t-available.patch
@@ -1,7 +1,7 @@
-From e7e82c7619b56fc1153481417c0a83b25d46030d Mon Sep 17 00:00:00 2001
+From 1da26fd3ce47728f423e290e3928257ead9baf76 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Sat, 7 Dec 2013 15:51:47 +0100
-Subject: [PATCH 3/5] input: Fix crash when SDP record isn't available
+Subject: [PATCH] input: Fix crash when SDP record isn't available
On startup, if the SDP cache has been removed but the pairing
information is still present, we'd crash trying to access inside a
@@ -11,7 +11,7 @@ NULL record struct.
1 file changed, 3 insertions(+)
diff --git a/profiles/input/device.c b/profiles/input/device.c
-index 521aca8..62f6dbb 100644
+index 6523161..8a28b0d 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -811,6 +811,9 @@ static struct input_device *input_device_new(struct btd_service *service)
@@ -22,7 +22,7 @@ index 521aca8..62f6dbb 100644
+ return NULL;
+
idev = g_new0(struct input_device, 1);
- bacpy(&idev->src, btd_adapter_get_address(adapter));
+ bacpy(&idev->src, adapter_get_address(adapter));
bacpy(&idev->dst, device_get_address(device));
--
1.8.4.2
More information about the scm-commits
mailing list