mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
ntp: fix NULL pointer
This commit is contained in:
@@ -996,7 +996,7 @@ NSR_GetName(IPAddr *address)
|
||||
int slot;
|
||||
|
||||
if (!find_slot(address, &slot))
|
||||
return 0;
|
||||
return NULL;
|
||||
|
||||
record = get_record(slot);
|
||||
if (record->name)
|
||||
|
||||
Reference in New Issue
Block a user