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
16 lines
452 B
Diff
16 lines
452 B
Diff
Index: ntpd/refclock_parse.c
|
|
===================================================================
|
|
--- ntpd/refclock_parse.c.orig
|
|
+++ ntpd/refclock_parse.c
|
|
@@ -3409,6 +3409,10 @@ parse_control(
|
|
struct parseunit *parse = peer->procptr->unitptr;
|
|
parsectl_t tmpctl;
|
|
|
|
+ /* If opening the clock device failed, unitptr is NULL */
|
|
+ if (!parse)
|
|
+ return;
|
|
+
|
|
static char outstatus[400]; /* status output buffer */
|
|
|
|
if (out)
|