mirror of
https://github.com/openharmony/ability_form_fwk.git
synced 2026-08-24 07:47:15 -04:00
bb2e984e3a
Change > to >= in tv_sec overflow check. When tv_sec equals INT64_MAX / NANO_PER_SECOND (9223372036, ~year 2262), the subsequent tv_sec * NANO_PER_SECOND + tv_nsec can still overflow int64_t because tv_nsec (max 999999999) exceeds the remaining headroom (854775807). AI[100%] Human Fixed[0%] Human[0%] AI Adopted[100%] Co-authored-by: opencode (glm-5.2) <ai@local> Change-Id: Ie99ef763546b3a10de0b3ca71089c936e306243d Signed-off-by: yzy-15 <yuzhiyong6@h-partners.com>