[PATCH openEuler-5.10 v2 322/548] rsi: Fix out-of-bounds read in rsi_read_pkt()