Accepting request 905316 from Base:System
update to 5.60 (forwarded request 905315 from seife) OBS-URL: https://build.opensuse.org/request/show/905316 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=177
This commit is contained in:
commit
045920b430
@ -1,38 +0,0 @@
|
||||
From 0388794dc5fdb73a4ea88bcf148de0a12b4364d4 Mon Sep 17 00:00:00 2001
|
||||
From: Archie Pusaka <apusaka@chromium.org>
|
||||
Date: Thu, 17 Jun 2021 08:53:34 +0800
|
||||
Subject: avdtp: Fix parsing capabilities
|
||||
|
||||
This patch fixes size comparison and variable misassignment.
|
||||
|
||||
Reviewed-by: Alain Michaud <alainm@chromium.org>
|
||||
Reviewed-by: Michael Sun <michaelfsun@google.com>
|
||||
---
|
||||
profiles/audio/avdtp.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
|
||||
index c7bf99f42..5d13104c1 100644
|
||||
--- a/profiles/audio/avdtp.c
|
||||
+++ b/profiles/audio/avdtp.c
|
||||
@@ -1323,7 +1323,7 @@ static GSList *caps_to_list(uint8_t *data, size_t size,
|
||||
|
||||
cap = (struct avdtp_service_capability *)data;
|
||||
|
||||
- if (sizeof(*cap) + cap->length >= size) {
|
||||
+ if (sizeof(*cap) + cap->length > size) {
|
||||
error("Invalid capability data in getcap resp");
|
||||
break;
|
||||
}
|
||||
@@ -1345,7 +1345,7 @@ static GSList *caps_to_list(uint8_t *data, size_t size,
|
||||
switch (cap->category) {
|
||||
case AVDTP_MEDIA_CODEC:
|
||||
if (codec)
|
||||
- *codec = cap;
|
||||
+ *codec = cpy;
|
||||
break;
|
||||
case AVDTP_DELAY_REPORTING:
|
||||
if (delay_reporting)
|
||||
--
|
||||
cgit 1.2.3-1.el7
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:046b95b386d0bfb2a16311fe799d517ee7735045512d89902c4ed701db477316
|
||||
size 2123104
|
3
bluez-5.60.tar.xz
Normal file
3
bluez-5.60.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:710999580d01ee59ec585e5e7c07fd94eddedc001aa26fe7464c546f9d945304
|
||||
size 2124312
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 8 07:39:55 UTC 2021 - Stefan Seyfried <seife+obs@b1-systems.com>
|
||||
|
||||
- update to 5.60:
|
||||
* Fix issue with reading from RFKILL device node.
|
||||
* Fix issue with AVDTP and parsing capabilities.
|
||||
* Fix issue with UnregisterApplication handling.
|
||||
* Fix issue with RegisterProfile if UUID already exists.
|
||||
* Fix issue with GATT client attribute read with offset.
|
||||
* Fix issue with non-discoverable device and advertising monitor.
|
||||
- remove bluez-5.59-0388794dc5fdb73a4ea.diff (included upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 4 19:14:36 UTC 2021 - Stefan Seyfried <seife+obs@b1-systems.com>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
%bcond_without bluez_deprecated
|
||||
#
|
||||
Name: bluez
|
||||
Version: 5.59
|
||||
Version: 5.60
|
||||
Release: 0
|
||||
Summary: Bluetooth Stack for Linux
|
||||
License: GPL-2.0-or-later
|
||||
@ -45,8 +45,6 @@ Patch3: bluez-cups-libexec.patch
|
||||
Patch4: bluez-disable-broken-tests.diff
|
||||
# get rid of python2. WARNING: this is autogenerated by 2to3 and might not work
|
||||
Patch5: bluez-test-2to3.diff
|
||||
# PATCH-FIX-UPSTREAM: upstream commit until bluez-5.60 is out, https://github.com/bluez/bluez/issues/157
|
||||
Patch6: bluez-5.59-0388794dc5fdb73a4ea.diff
|
||||
# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688
|
||||
Patch10: RPi-Move-the-43xx-firmware-into-lib-firmware.patch
|
||||
# Upstream suggests to use btmon instead of hcidump and does not want those patches
|
||||
|
Loading…
Reference in New Issue
Block a user