Finished overflow protection work in packet handler