[bluez/bluez] e76177: 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/1149710/[email protected]> |
Branch: refs/heads/1149710
Home: https://github.com/bluez/bluez
Commit: e7617711ab38c02df60a53a3d51f5ca3c84909d6
https://github.com/bluez/bluez/commit/e7617711ab38c02df60a53a3d51f5ca3c84909d6
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