59c0c501
by Yuxuan Shui at 2025-06-09T23:03:02+02:00
inetmib1: Fix table emptiness check.
getItemAndInstanceFromTable only checks if the table is NULL, but didn't check
if it actually contains any entries. It just assumes it does and will return
index 1 in some cases, resulting in out-of-bound access of the table down the
line.