- zero out a buffer for the incoming icmp message that we are about to parse
- for ICMP_MASKREPLY and ICMP_TSTAMPREPLY responses check their length and warn and reject them if they are truncated
Without these checks a part of stack allocated struct icmp icp could
be printed out which seems low severity since we already dropped root
privileges by the time icp is allocated.
MFC after: 1 month
Found with: Claude Code Sonnet 5