[PATCH AUTOSEL 4.19 35/37] net: systemport: fix index check to avoid an array out of bounds access