diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-10 23:53:20 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-09-27 11:37:00 -0400 |
commit | d4e99db3d942c8099006f3b7536bc52f766b475a (patch) | |
tree | d3639117352ba0e8e4328cdde6dadfe2a336d071 /rust/helpers/xarray.c | |
parent | 3e94262921990e2884ff7a49064c12fb6d3a0733 (diff) |
Bluetooth: Annotate struct hci_drv_rp_read_info with __counted_by_le()
Add the __counted_by_le() compiler attribute to the flexible array
member 'supported_commands' to improve access bounds-checking via
CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions