[chrony-dev] [GIT] chrony/chrony.git branch master updated. 3.2-pre1-44-gc9f50fc |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
This is an automated email from git. It was generated because a ref
change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated
via c9f50fc686d93b982cb0ef72b9e140114fccf53b (commit)
via 83c26b458bbb00418d3ca87c1ae351289ba9d8a1 (commit)
via b711873f45e71f74a5cd91e04aa65a0aeae18bce (commit)
via c68ca40ce4bac29b47eb32cf8194ee581e0a7b60 (commit)
via 51fe80ad95ab1eb33199a3be17c545debf730ab7 (commit)
via 7ffee735247353c6af7871d41dd064ffb80b064a (commit)
via f40b0024bd43b24d4d3a97ba28def9b4fdfc336e (commit)
from a06c9909a6e9af939381ec5f245378f15b5d5d71 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c9f50fc686d93b982cb0ef72b9e140114fccf53b
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Mon Aug 28 13:07:01 2017 +0200
update copyright years
commit 83c26b458bbb00418d3ca87c1ae351289ba9d8a1
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Mon Aug 28 12:44:44 2017 +0200
doc: fix spelling
Don't mix UK and US spelling.
commit b711873f45e71f74a5cd91e04aa65a0aeae18bce
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Fri Aug 25 16:47:18 2017 +0200
test: add 123-mindelay test
commit c68ca40ce4bac29b47eb32cf8194ee581e0a7b60
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Fri Aug 25 14:57:25 2017 +0200
ntp: improve maxdelayratio test
Similarly to the maxdelaydevratio test, include in the maximum delay
dispersion which accumulated in the interval since the last sample.
Also, enable the test for symmetric associations.
commit 51fe80ad95ab1eb33199a3be17c545debf730ab7
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Fri Aug 25 12:29:13 2017 +0200
sourcestats: move maxdelaydevratio test to ntp_core
Instead of giving NTP-specific data to sourcestats in order to perform
the test, provide a function to get all data needed for the test in
ntp_core. While at it, improve the naming of variables.
commit 7ffee735247353c6af7871d41dd064ffb80b064a
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Aug 24 12:10:46 2017 +0200
memory: check for overflow when (re)allocating array
When (re)allocating an array with very large number of elements using
the MallocArray or ReallocArray macros, the calculated size of the array
could overflow size_t and less memory would be allocated than requested.
Add new functions for (re)allocating arrays that check the size and use
them in the MallocArray and ReallocArray macros.
This couldn't be exploited, because all arrays that can grow with cmdmon
or NTP requests already have their size checked before allocation, or
they are much smaller than memory allocated for structures to which they
are related (i.e. ntp_core and sourcestats instances), so a memory
allocation would fail before their size could overflow.
This issue was found in an audit performed by Cure53 and sponsored by
Mozilla.
commit f40b0024bd43b24d4d3a97ba28def9b4fdfc336e
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date: Thu Aug 24 11:12:14 2017 +0200
util: check for gmtime() error
Fix the UTI_TimeToLogForm() function to check if gmtime() didn't fail.
This caused chronyc to crash due to dereferencing a NULL pointer when
a response to the "manual list" request contained time which gmtime()
could not convert to broken-down representation.
This issue was found in an audit performed by Cure53 and sponsored by
Mozilla.
-----------------------------------------------------------------------
Summary of changes:
README | 2 +-
array.c | 7 +----
client.c | 2 +-
clientlog.c | 2 +-
doc/chrony.conf.adoc | 4 +--
doc/chronyc.adoc | 2 +-
doc/chronyd.adoc | 2 +-
doc/faq.adoc | 8 +++---
hwclock.c | 2 +-
main.c | 2 +-
memory.c | 28 +++++++++++++++++-
memory.h | 6 ++--
ntp_core.c | 68 ++++++++++++++++++++++++++++++++++++++++----
privops.c | 2 +-
refclock.c | 2 +-
reference.c | 2 +-
regress.c | 2 +-
sourcestats.c | 42 ++++++++-------------------
sourcestats.h | 8 +++---
sys_linux.c | 2 +-
sys_macosx.c | 2 +-
sys_timex.c | 2 +-
test/simulation/118-maxdelay | 2 +-
test/simulation/123-mindelay | 27 ++++++++++++++++++
util.c | 12 +++++---
25 files changed, 167 insertions(+), 73 deletions(-)
create mode 100755 test/simulation/123-mindelay
hooks/post-receive
--
chrony/chrony.git
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.