[openEuler-5.10 246/496] wireguard: allowedips: don't corrupt stack when detecting overflow