introduce log_ntp_addr() and use it where applicable, avoids a null
authorotto <otto@openbsd.org>
Wed, 20 Dec 2023 15:36:36 +0000 (15:36 +0000)
committerotto <otto@openbsd.org>
Wed, 20 Dec 2023 15:36:36 +0000 (15:36 +0000)
commit8745f5cf9c71e9801d335b988c13bd14a57ce14d
treee53b6f4c9f8a96ddfc0d553e684974b8cc927cf9
parenta346a8255fe7f006393c41b1a2263d4deb91d353
introduce log_ntp_addr() and use it where applicable, avoids a null
pointer deref in constraint.c reported by bluhm@; ok millert@
usr.sbin/ntpd/client.c
usr.sbin/ntpd/constraint.c
usr.sbin/ntpd/control.c
usr.sbin/ntpd/ntp.c
usr.sbin/ntpd/ntpd.h
usr.sbin/ntpd/util.c