[openEuler-5.10-LTS 251/501] wireguard: allowedips: don't corrupt stack when detecting overflow