2 Commits

Author SHA1 Message Date
Sultan Qasim Khan
116c6de724 ieee80211: quash more ubsan warnings
Seems it doesn't like indexing into zero length arrays
either, it only allows C99 flexible array members.

Fixes warnings like:
UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.c:1822:110
index 24 is out of range for type 'u8 [*]'
2024-03-14 09:19:22 -04:00
morrownr
a1ead36047 initial upload 2021-10-27 12:51:22 -05:00