Files
linux-nv-oot/drivers
Revanth Kumar Uppala d99dede530 bt: realtek: Fix potential buffer overflow in cfg_list_item struct
The `cfg_list_item` struct previously defined the `data` array with a zero-length,
which can lead to buffer overflow issues detected by the `fortify_memcpy_chk` function.
So change the zero-length array to a flexible array length.

Bug 4701669

Change-Id: I3c4575efbab681fa8b6039793c410b23c4179106
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3159595
(cherry picked from commit 6f80c397ed)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3166006
Tested-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-07-02 06:39:24 -07:00
..
2024-03-05 19:27:54 -08:00
2024-01-25 13:55:01 -08:00
2023-05-08 05:34:09 -07:00
2023-09-14 13:25:32 -07:00
2024-06-19 08:39:01 -07:00
2024-03-26 07:54:17 -07:00
2024-01-19 06:39:15 -08:00
2024-03-11 14:54:22 -07:00