CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/04/22 07:57:58
Modified files:
usr.sbin/ntpd : util.c
Log message:
grow the buffer to hold the sprintf'd rtable id by 8 bytes so it can hold
the full range an int can express.
the previous buffer was large enough since the rtable id is clamped to 0..
RT_TABLEID_MAX which is 255, however, it is a bit much to ask for analyzers -
including those in compilers - to detect that, 8 extra bytes on the stack
cost us effectively nothing, and it feels a bit more robust.
triggered by bcook's portable diffs, ok claudio