NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/58678: ntpd crashes on alignment critical architectures



The following reply was made to PR bin/58678; it has been noted by GNATS.

From: Martin Husemann <martin%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/58678: ntpd crashes on alignment critical architectures
Date: Wed, 2 Oct 2024 05:02:07 +0000

 ----- Forwarded message from Christos Zoulas <christos%netbsd.org@localhost> -----
 
 Date: Tue, 1 Oct 2024 16:59:51 -0400
 From: Christos Zoulas <christos%netbsd.org@localhost>
 To: source-changes%NetBSD.org@localhost
 Subject: CVS commit: src/external/bsd/ntp/dist
 X-Mailer: log_accum
 
 Module Name:	src
 Committed By:	christos
 Date:		Tue Oct  1 20:59:51 UTC 2024
 
 Modified Files:
 	src/external/bsd/ntp/dist/include: ntp.h ntp_lists.h ntpd.h
 	src/external/bsd/ntp/dist/ntpd: ntp_control.c ntp_request.c
 	    ntp_restrict.c
 
 Log Message:
 Don't play pointer tricks to save memory, just declare a struct for v4 and
 one for v6... Fixes alignment issues on machines that have strict alignment
 requirements (eg. sparc64)
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 src/external/bsd/ntp/dist/include/ntp.h \
     src/external/bsd/ntp/dist/include/ntpd.h
 cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/dist/include/ntp_lists.h
 cvs rdiff -u -r1.24 -r1.25 src/external/bsd/ntp/dist/ntpd/ntp_control.c
 cvs rdiff -u -r1.19 -r1.20 src/external/bsd/ntp/dist/ntpd/ntp_request.c
 cvs rdiff -u -r1.12 -r1.13 src/external/bsd/ntp/dist/ntpd/ntp_restrict.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 
 
 ----- End forwarded message -----
 


Home | Main Index | Thread Index | Old Index