linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bluez/bluez] c0156e: gatt-server: Check pointer before memcpy
@ 2023-06-13 21:31 iulia-tanasescu
  0 siblings, 0 replies; only message in thread
From: iulia-tanasescu @ 2023-06-13 21:31 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c0156edd198eef10c847b3540098cb4b9d18d142
      https://github.com/bluez/bluez/commit/c0156edd198eef10c847b3540098cb4b9d18d142
  Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
  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@nxp.com>
  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-13 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13 21:31 [bluez/bluez] c0156e: gatt-server: Check pointer before memcpy iulia-tanasescu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).