[bluez/bluez] a1e3ac: l2cap-tester: Add tests for multiple data packets

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: a1e3ac87b547f8865d7ecf905c886dfed812e9c1
      https://github.com/bluez/bluez/commit/a1e3ac87b547f8865d7ecf905c886dfed812e9c1
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M tools/l2cap-tester.c

  Log Message:
  -----------
  l2cap-tester: Add tests for multiple data packets

This adds the following tests which cover the TX/RX of multiple
packets (up to 32K):

L2CAP BR/EDR Client - Read 32k Success
L2CAP BR/EDR Client - Write 32k Success
L2CAP BR/EDR Server - Read 32k Success
L2CAP BR/EDR Server - Write 32k Success


  Commit: b6f8c0024a875f519a6f7f5642615ab02a0e2594
      https://github.com/bluez/bluez/commit/b6f8c0024a875f519a6f7f5642615ab02a0e2594
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M emulator/bthost.c
    M emulator/bthost.h

  Log Message:
  -----------
  bthost: Introduce bthost_add_l2cap_server_custom

This introduces bthost_add_l2cap_server_custom which can be used to
define custom values for MTU, MPS and credits.


  Commit: 72c3f5bf1ce676a92064a21b61fc56bfea6b3361
      https://github.com/bluez/bluez/commit/72c3f5bf1ce676a92064a21b61fc56bfea6b3361
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M tools/l2cap-tester.c

  Log Message:
  -----------
  l2cap-tester: Add tests for multiple data packets over LE

This adds the following tests which cover the TX/RX of multiple
packets (up to 32K) over LE credit based flow control:

L2CAP LE Client - Read 32k Success
L2CAP LE Client - Write 32k Success


  Commit: 2ebb415b12c48a727b106b6f28452cc430996964
      https://github.com/bluez/bluez/commit/2ebb415b12c48a727b106b6f28452cc430996964
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M profiles/health/mcap.c

  Log Message:
  -----------
  health/mcap: fix memory leak in mcap_create_mcl()

set_default_cb() can allocate memory for mcl->cb but it does
not free mcl->cb before exiting the function.

Add freeing mcl->cb before exiting the function.

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.


  Commit: bf4ec513929bda951f54cc73fabbee3a7a12e3c7
      https://github.com/bluez/bluez/commit/bf4ec513929bda951f54cc73fabbee3a7a12e3c7
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M profiles/audio/media.c

  Log Message:
  -----------
  media: fix memory leak in endpoint_init_pac()

asprintf() allocates memory in the name variable but does not
free it before exiting the function, which causes a memory leak.

Add freeing of the name variable before exiting.

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.


  Commit: e3616b776ae0d50c94807ed970cb724518b8a47e
      https://github.com/bluez/bluez/commit/e3616b776ae0d50c94807ed970cb724518b8a47e
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M plugins/sixaxis.c

  Log Message:
  -----------
  plugins/sixaxis: add NULL check in setup_device()

btd_adapter_get_device() may return NULL on the next call stack:

btd_adapter_get_device()
    adapter_create_device()
        device_create()
            device_new()
                g_try_malloc0()

It is necessary to prevent this to avoid dereferencing a null
pointer further.


Compare: https://github.com/bluez/bluez/compare/944909f2b2c8...e3616b776ae0

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[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