[PATCH 5.15 134/565] selftests/resctrl: Protect against array overrun during iMC config parsing