[bluez/bluez] 6d1531: btdev: Check parameter for CIG related commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 6d15315570a43375ab98fa01841e5d957de1724c
      https://github.com/bluez/bluez/commit/6d15315570a43375ab98fa01841e5d957de1724c
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M emulator/btdev.c

  Log Message:
  -----------
  btdev: Check parameter for CIG related commands

This checks if the parameters given to Set CIG Parameters and Remove CIG
are in the valid range.


  Commit: 234d60423c3b8186a27b31028d4c0acb847eedb1
      https://github.com/bluez/bluez/commit/234d60423c3b8186a27b31028d4c0acb847eedb1
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M src/shared/gatt-db.c

  Log Message:
  -----------
  shared/gatt-db: Fix gatt_db_attribute_get_index

gatt_db_attribute_get_index was calculating the index based on
attrib->handle - service->attributes[0]->handle which doesn't work when
there are gaps in between handles.

Fixes: https://github.com/bluez/bluez/issues/326


Compare: https://github.com/bluez/bluez/compare/ff35b1d2e97e...234d60423c3b



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux