+* [Bug 1646] ntpd crashes with relative path to logfile.
* Documentation updates from Dave Mills.
(4.2.7p56) 2010/09/25 Released by Harlan Stenn <stenn@ntp.org>
* Clock combining algorithm improvements from Dave Mills.
cd_octets--;
octets = cd_octets;
octets += 1; /* separator '/' */
- octets += strlen(syslog_fname);
+ octets += strlen(log_fname);
octets += 1; /* NUL terminator */
abs_fname = emalloc(octets);
- /* It's strictly assumed that cd_octets fits into
- * an 'int' without overflow or sign change!
- */
snprintf(abs_fname, octets, "%.*s%c%s",
(int)cd_octets, curdir, DIR_SEP,
- syslog_fname);
+ log_fname);
} else
#endif
abs_fname = estrdup(log_fname);