NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/58678: ntpd crashes on sparc64
The following reply was made to PR bin/58678; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/58678: ntpd crashes on sparc64
Date: Thu, 19 Sep 2024 13:30:49 +0200
I guess this should fix it:
Index: ntp.h
===================================================================
RCS file: /cvsroot/src/external/bsd/ntp/dist/include/ntp.h,v
retrieving revision 1.13
diff -u -r1.13 ntp.h
--- ntp.h 18 Aug 2024 20:46:50 -0000 1.13
+++ ntp.h 19 Sep 2024 11:28:27 -0000
@@ -859,8 +859,8 @@
restrict_u * link; /* link to next entry */
u_int32 count; /* number of packets matched */
u_int32 expire; /* valid until current_time */
- u_short rflags; /* restrict (accesslist) flags */
u_int32 mflags; /* match flags */
+ u_short rflags; /* restrict (accesslist) flags */
short ippeerlimit; /* limit of associations matching */
union { /* variant starting here */
res_addr4 v4;
(but have not yet tested it).
They re-arranded this strucrecently and now union {} u is no longer properly
aligned.
Martin
Home |
Main Index |
Thread Index |
Old Index