wifi: mwifiex: Fix tlv_buf_left calculation and replace one-element array
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 7 repliesIn review
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Fix format specifier in patch 3/3: %ld -> %zu
- Update warning messages to explicitly mention that TLV size is greater than tlv_buf_len in patch 3/3.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wifi: mwifiex: Fix tlv_buf_left calculationdrivers/ | +2 | 3 replies | |
| 2/3 | wifi: mwifiex: Replace one-element array with flexible-array member in struct mwifiex_ie_types_rxba_syncdrivers/ drivers/ | +2 | 1 reply | |
| 3/3 | wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_lendrivers/ | +16 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] wifi: mwifiex: Fix tlv_buf_left calculation and replace one-element array
Hi all!
This small series is aimed at fixing a bug in the tlv_buf_left calculation, doing a flexible-array transformation, and adding a couple of sanity checks.
Thanks
Changes in v2:
- Fix format specifier in patch 3/3: %ld -> %zu
- Update warning messages to explicitly mention that TLV size is greater than tlv_buf_len in patch 3/3.
v1:
- Link: https://lore.kernel.org/linux-hardening/[email protected]/
Gustavo A. R. Silva (3):
wifi: mwifiex: Fix tlv_buf_left calculation
wifi: mwifiex: Replace one-element array with flexible-array member in
struct mwifiex_ie_types_rxba_sync
wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
.../wireless/marvell/mwifiex/11n_rxreorder.c | 22 ++++++++++++++++--- drivers/net/wireless/marvell/mwifiex/fw.h | 2 +- 2 files changed, 20 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1