From: Harlan Stenn Date: Thu, 4 Jul 2019 10:46:00 +0000 (-0400) Subject: Merge psp-deb2.ntp.org:/home/perlinger/ntp-stable-3580 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd6c3c9bcb71c460826717213ac015a3af5b0665;p=thirdparty%2Fntp.git Merge psp-deb2.ntp.org:/home/perlinger/ntp-stable-3580 into psp-deb2.ntp.org:/home/stenn/ntp-stable-p14 bk: 5d1dd8e8J835_P_yQalu3xd-198mvA --- cd6c3c9bcb71c460826717213ac015a3af5b0665 diff --cc ChangeLog index b4da53103,25d34924b..da78b3229 --- a/ChangeLog +++ b/ChangeLog @@@ -1,39 -1,6 +1,41 @@@ --- + + * [Bug 3580] Possible bug ntpq-subs (NULL dereference in dogetassoc) + - Reported by Paulo Neves +* [Bug 3573] nptdate: missleading error message +* [Bug 3570] NMEA driver docs: talker ID not mentioned, typo +* [Bug 3569] cleanup MOD_NANO/STA_NANO handling for 'ntpadjtimex()' + - sidekick: service port resolution in 'ntpdate' +* [Bug 3550] Reproducible build: Respect SOURCE_DATE_EPOCH + - applied patch by Douglas Royds +* [Bug 3542] ntpdc monlist parameters cannot be set +* [Bug 3533] ntpdc peer_info ipv6 issues + - applied patch by Gerry Garvey +* [Bug 3531] make check: test-decodenetnum fails + - try to harden 'decodenetnum()' against 'getaddrinfo()' errors + - fix wrong cond-compile tests in unit tests +* [Bug 3517] Reducing build noise +* [Bug 3516] Require tooling from this decade + - patch by Philipp Prindeville +* [Bug 3515] Refactor ntpdmain() dispatcher loop and group common code + - patch by Philipp Prindeville +* [Bug 3511] Get rid of AC_LANG_SOURCE() warnings + - patch by Philipp Prindeville +* [Bug 3510] Flatten out the #ifdef nesting in ntpdmain() + - partial application of patch by Philipp Prindeville +* [Bug 3491] Signed values of LFP datatypes should always display a sign + - applied patch by Gerry Garvey & fixed unit tests +* [Bug 3490] Patch to support Trimble Resolution Receivers + - applied (modified) patch by Richard Steedman +* [Bug 3132] Building 4.2.8p8 with disabled local libopts fails + - applied patch by Miroslav Lichvar +* [Bug 3094] ntpd trying to listen for broadcasts on a completely ipv6 network + +* [Bug 2420] ntpd doesn't run and exits with retval 0 when invalid user + is specified with -u + - monitor daemon child startup & propagate exit codes +* [Bug 1433] runtime check whether the kernel really supports capabilities + - (modified) patch by Kurt Roeckx --- (4.2.8p13) 2019/03/07 Released by Harlan Stenn diff --cc ntpq/ntpq-subs.c index 8079a3575,fde838a49..406710bdf --- a/ntpq/ntpq-subs.c +++ b/ntpq/ntpq-subs.c @@@ -1885,13 -1926,13 +1926,13 @@@ doprintpeers stratum, type, prettyinterval(whenbuf, sizeof(whenbuf), when(&ts, &rec, &reftime)), - prettyinterval(pollbuf, sizeof(pollbuf), + prettyinterval(pollbuf, sizeof(pollbuf), (int)poll_sec), - reach, lfptoms(&estdelay, 3), + reach, ulfptoms(&estdelay, 3), lfptoms(&estoffset, 3), (have_jitter) - ? lfptoms(&estjitter, 3) - : lfptoms(&estdisp, 3)); + ? ulfptoms(&estjitter, 3) + : ulfptoms(&estdisp, 3)); return (1); } else