diff options
| author | Pranav Desai <contact.pranavdesai@gmail.com> | 2026-10-07 17:23:42 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 15:33:54 +0200 |
| commit | 68163adbb0def589178c74f13a6ffa37ca8cef9f (patch) | |
| tree | 856b25806198e3fc64d9b2d611d2dfb25f2f994f /tools/lib/python | |
| parent | 4771c78a190e34a9fd04e218358419d30e789ee8 (diff) | |
staging: rtl8723bs: use u32 for length variables in rtw_BIP_verify()
Replace 'uint' with 'u32' for the 'len' and 'ori_len' variables in
the rtw_BIP_verify() function.
These variables are calculated directly from 'pattrib->pkt_len',
which is defined as a u32 in struct pkt_attrib. Explicitly typing
them as u32 prevents potential bounds or overflow issues during
subsequent length calculations.
Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com>
Link: https://patch.msgid.link/20261007115342.1121742-7-contact.pranavdesai@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
