[PATCH 4.4 239/268] serial: samsung: Fix out-of-bounds access through serial port index