[bluez/bluez] e4a8a2: gatt-server: Fix integer overflow
hudsonzuo <[email protected]>
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <bluez/bluez/push/refs/heads/1133054/[email protected]> |
Branch: refs/heads/1133054
Home: https://github.com/bluez/bluez
Commit: e4a8a22f7a2886300bf881a292d793143fecd109
https://github.com/bluez/bluez/commit/e4a8a22f7a2886300bf881a292d793143fecd109
Author: zuohsh <[email protected]>
Date: 2026-07-23 (Thu, 23 Jul 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