ITS#9643 Fix out of bounds read in entry_decode()

3 jobs for its9643 in 49 minutes and 41 seconds (queued for 3 seconds)