[bluez/bluez] c0156e: gatt-server: Check pointer before memcpy

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c0156edd198eef10c847b3540098cb4b9d18d142
      https://github.com/bluez/bluez/commit/c0156edd198eef10c847b3540098cb4b9d18d142
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

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

  Log Message:
  -----------
  gatt-server: Check pointer before memcpy

This adds a check before calling memcpy inside
bt_gatt_server_send_notification, to avoid getting
the following error in case the user wants to send
an empty notification for an attribute:

src/shared/gatt-server.c:1789:3: runtime error:
null pointer passed as argument 2, which is declared to never be null


  Commit: ddd09531e936508ba9ea620f9caaf3402c54496f
      https://github.com/bluez/bluez/commit/ddd09531e936508ba9ea620f9caaf3402c54496f
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M src/shared/bass.c

  Log Message:
  -----------
  shared/bass: Implement CP opcode handlers

This adds handlers for the following BASS Broadcast Audio Scan
Control Point opcodes:
   Remote Scan Stopped
   Remote Scan Started
   Remove Source


Compare: https://github.com/bluez/bluez/compare/d2d2d12f59d6...ddd09531e936



[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