mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-05-30 05:07:22 +02:00
monitor: add size check for interworking IE parsing
Fixes: e0c9b68467fa ("monitor: parse/print HS2.0/WFA IEs")
This commit is contained in:
parent
e5c41a8024
commit
8dff156eb6
@ -1915,7 +1915,7 @@ static void print_ie_interworking(unsigned int level,
|
||||
size--;
|
||||
ptr++;
|
||||
|
||||
if (!size)
|
||||
if (size < 2)
|
||||
return;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user