[PATCH openEuler-5.10 42/54] ntp: Avoid undefined behaviour in second_overflow()