mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 01:15:06 -05:00
Fix errors detected by valgrind
I tried running chronyd in valgrind and the result was that there are four places where memory is not initialized. A patch fixing the errors is in the attachment.
This commit is contained in:
committed by
Richard P. Curnow
parent
bc0aaa9217
commit
8336f14680
@@ -300,6 +300,9 @@ create_instance(NTP_Remote_Address *remote_addr, NTP_Mode mode, SourceParameters
|
||||
|
||||
result->tx_count = 0;
|
||||
|
||||
result->remote_orig.hi = 0;
|
||||
result->remote_orig.lo = 0;
|
||||
|
||||
result->score = 0;
|
||||
|
||||
if (params->online) {
|
||||
|
||||
Reference in New Issue
Block a user