[PATCH openEuler-5.10 11/73] CDC-NCM: avoid overflow in sanity checking