mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
fix UBSAN: array-index-out-of-bounds
This commit is contained in:
@@ -95,7 +95,7 @@ typedef struct _NDIS_802_11_FIXED_IEs {
|
||||
typedef struct _NDIS_802_11_VARIABLE_IEs {
|
||||
UCHAR ElementID;
|
||||
UCHAR Length;
|
||||
UCHAR data[1];
|
||||
UCHAR data[];
|
||||
} NDIS_802_11_VARIABLE_IEs, *PNDIS_802_11_VARIABLE_IEs;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user