I think a check for Data.len >= 5 is needed somewhere above.