[PATCH 5/9] monitor: add size check for interworking IE parsing

James Prestwood
2025-04-16T12:34:22Z

---
monitor/nlmon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c
index 14a29eab..7924f6f2 100644
--- a/monitor/nlmon.c
+++ b/monitor/nlmon.c
@@ -1915,7 +1915,7 @@ static void print_ie_interworking(unsigned int level,
size--;
ptr++;

- if (!size)
+ if (size < 2)
return;

/*
--
2.34.1