[Git][NTPsec/ntpsec][segfault] Adjusted comment on pps_peer check.

Ian Bruene gitlab at mg.gitlab.com
Fri Aug 31 22:24:23 UTC 2018


Ian Bruene pushed to branch segfault at NTPsec / ntpsec


Commits:
69cd3a22 by Ian Bruene at 2018-08-31T22:23:59Z
Adjusted comment on pps_peer check.

- - - - -


1 changed file:

- ntpd/refclock_gpsd.c


Changes:

=====================================
ntpd/refclock_gpsd.c
=====================================
@@ -596,7 +596,7 @@ gpsd_shutdown(
 		return;
 
 	if (up->pps_peer == NULL) {
-		/* This has been known to be NULL, causing a segfault on shutdown */
+		/* This is NULL if no related PPS */
 		DPRINT(1, ("%s: pps_peer found NULL", up->logname));
 	} else if (pp != up->pps_peer->procptr) {
 		/* now check if we must close IO resources */



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/69cd3a22fc29b99f89de1779a0fca2a8a9399be7

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/69cd3a22fc29b99f89de1779a0fca2a8a9399be7
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180831/07379bea/attachment-0001.html>


More information about the vc mailing list