[bluez/bluez] ce02cc: gatt-server: Fix integer overflow and 3 CI VLA wan...

hudsonzuo <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1149533/[email protected]>
  Branch: refs/heads/1149533
  Home:   https://github.com/bluez/bluez
  Commit: ce02cc800e7fcc6cdbc33190c8d329dde1a2f037
      https://github.com/bluez/bluez/commit/ce02cc800e7fcc6cdbc33190c8d329dde1a2f037
  Author: zuohsh <[email protected]>
  Date:   2026-08-21 (Fri, 21 Aug 2026)

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

  Log Message:
  -----------
  gatt-server: Fix integer overflow and 3 CI VLA wanings

By using size_t for realloc len and rejecting allocations exceeding
UINT16_MAX , to prevent truncation into the uint16_t field.

Fix CI warnings: Variable length array is used, use malloc/free instead.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.