summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHari Kalavakunta <kalavakunta.hari.prasad@gmail.com>2025-06-10 12:33:38 -0700
committerJakub Kicinski <kuba@kernel.org>2025-06-12 18:21:59 -0700
commit8e16170ae972c7fed132bc928914a2ffb94690fc (patch)
treea72436ff1c87061494cdfe23c32c64b386e64031 /scripts
parent221dfdb2df90b0e4df12371e6b549ca8ebba719d (diff)
net: ncsi: Fix buffer overflow in fetching version id
In NC-SI spec v1.2 section 8.4.44.2, the firmware name doesn't need to be null terminated while its size occupies the full size of the field. Fix the buffer overflow issue by adding one additional byte for null terminator. Signed-off-by: Hari Kalavakunta <kalavakunta.hari.prasad@gmail.com> Reviewed-by: Paul Fertser <fercerpav@gmail.com> Link: https://patch.msgid.link/20250610193338.1368-1-kalavakunta.hari.prasad@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions