[PATCH 5.4 172/320] rsi: Fix out-of-bounds read in rsi_read_pkt()