upgrade to current release ntp 4.2.8p2 OBS-URL: https://build.opensuse.org/request/show/294739 OBS-URL: https://build.opensuse.org/package/show/network:time/ntp?expand=0&rev=126
14 lines
644 B
Diff
14 lines
644 B
Diff
Index: ntp-4.2.6p5/ntpd/refclock_parse.c
|
|
===================================================================
|
|
--- ntp-4.2.6p5.orig/ntpd/refclock_parse.c
|
|
+++ ntp-4.2.6p5/ntpd/refclock_parse.c
|
|
@@ -3668,7 +3668,7 @@ parse_process(
|
|
|
|
NLOG(NLOG_CLOCKINFO) /* conditional if clause for conditional syslog */
|
|
msyslog(LOG_WARNING, "PARSE receiver #%d: conversion status \"%s\"",
|
|
- CLK_UNIT(parse->peer), parsestatus(parsetime->parse_status, buffer, sizeof(buffer)));
|
|
+ CLK_UNIT(parse->peer), parsestatus(parsetime->parse_status, buffer, sizeof(buffer) - strlen(buffer) - 1));
|
|
|
|
if ((parsetime->parse_status & CVT_MASK) == CVT_FAIL)
|
|
{
|