diff --git a/Fix-memory-leak.patch b/Fix-memory-leak.patch deleted file mode 100644 index 103fd149eca48e9acf6ce2996a54d2e667da404a..0000000000000000000000000000000000000000 --- a/Fix-memory-leak.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 09e39a7d6dca8041f3723ee9020c54b94c0c8d47 Mon Sep 17 00:00:00 2001 -From: Luiz Augusto von Dentz -Date: Fri, 24 May 2024 10:47:41 -0400 -Subject: shared/csip: Fix memory leak - -This fixes the following leak: - -102 bytes in 6 blocks are definitely lost in loss record 660 of 909 - at 0x484282F: malloc (vg_replace_malloc.c:446) - by 0x5A078B: util_malloc (util.c:46) - by 0x649162: read_sirk (csip.c:485) - by 0x5C74FA: read_cb (gatt-client.c:2713) - by 0x5C4137: handle_rsp (att.c:880) - by 0x5C4137: can_read_data (att.c:1072) - by 0x65DDA4: watch_callback (io-glib.c:157) - by 0x49656AB: ??? (in /usr/lib64/libglib-2.0.so.0.8000.2) - by 0x49C6707: ??? (in /usr/lib64/libglib-2.0.so.0.8000.2) - by 0x496B666: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.8000.2) - by 0x65FE3D: mainloop_run (mainloop-glib.c:66) - by 0x6605A3: mainloop_run_with_signal (mainloop-notify.c:188) - by 0x31DEFA: main (main.c:1468) - ---- - src/shared/csip.c | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/src/shared/csip.c b/src/shared/csip.c -index e13efb6..87b4590 100644 ---- a/src/shared/csip.c -+++ b/src/shared/csip.c -@@ -128,6 +128,15 @@ void bt_csip_detach(struct bt_csip *csip) - queue_foreach(csip_cbs, csip_detached, csip); - } - -+static void csis_free(struct bt_csis *csis) -+{ -+ if (!csis) -+ return; -+ -+ free(csis->sirk_val); -+ free(csis); -+} -+ - static void csip_db_free(void *data) - { - struct bt_csip_db *cdb = data; -@@ -137,7 +146,7 @@ static void csip_db_free(void *data) - - gatt_db_unref(cdb->db); - -- free(cdb->csis); -+ csis_free(cdb->csis); - free(cdb); - } - --- -2.27.0 - diff --git a/bluez-5.76.tar.xz b/bluez-5.76.tar.xz deleted file mode 100644 index a4b7c06e0fe52ec5528d9690a1ab7eb3027000c2..0000000000000000000000000000000000000000 Binary files a/bluez-5.76.tar.xz and /dev/null differ diff --git a/bluez-5.77.tar.xz b/bluez-5.77.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..0a61fe0780297d46a157db0bcd10b766cf27de06 Binary files /dev/null and b/bluez-5.77.tar.xz differ diff --git a/bluez.spec b/bluez.spec index 8298441c89b2983692fbd6b3f5384ac02d4a71b0..e04d903cf242ee77936924bc0d529f6cf9672808 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,6 +1,6 @@ Name: bluez Summary: Bluetooth utilities -Version: 5.76 +Version: 5.77 Release: 1 License: GPLv2+ URL: http://www.bluez.org/ @@ -17,11 +17,10 @@ Patch6000: backport-bluez-disable-test-mesh-crypto.patch %ifarch sw_64 Patch6013: bluez-5.54-sw.patch %endif -Patch7000: Fix-memory-leak.patch BuildRequires: dbus-devel >= 1.6 libell-devel >= 0.28 autoconf BuildRequires: glib2-devel libical-devel readline-devel -BuildRequires: json-c-devel systemd-devel cups-devel libtool automake python3-docutils +BuildRequires: json-c-devel systemd-devel cups-devel libtool automake python3-docutils python3-pygments Requires: dbus >= 1.6 %{name}-libs = %{version}-%{release} Requires(post): systemd Requires(preun): systemd @@ -179,8 +178,12 @@ make check %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* +%{_mandir}/man7/* %changelog +* Tue Jul 16 2024 dillon chen - 5.77-1 +- update to 5.77 + * Thu Jul 11 2024 dillon chen - 5.76-1 - update to 5.76