[bluez/bluez] 263b7f: gatt-server: Fix integer overflow
hudsonzuo <[email protected]>
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <bluez/bluez/push/refs/heads/1149440/[email protected]> |
Branch: refs/heads/1149440
Home: https://github.com/bluez/bluez
Commit: 263b7fb4cf45a4cb7426858c6559c301dd38050d
https://github.com/bluez/bluez/commit/263b7fb4cf45a4cb7426858c6559c301dd38050d
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
By using size_t for realloc len and rejecting allocations exceeding
UINT16_MAX , to prevent truncation into the uint16_t field.
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications