[PATCH 0/2] esxConnectListInterfaces: Fix array bounds checking and refactor counting