CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/08/20 04:40:21
Modified files:
usr.sbin/ntpd : ntpd.c ntpd.h util.c
Log message:
give d_to_tv(), which converts an offset from double to a struct timeval, a
return value, and make the callers in IMSG_ADJTIME and IMSG_SETTIME handlers
use it to abort if it signals error.
range-check the double value in d_to_tv.
reported by Shibo, Shawn, Hugo Systopia Team / sai02 at student.ubc.ca
discussed with and input from deraadt and otto, ok otto