[PATCH openEuler-5.10 079/146] iavf: validate pointers