diff options
| author | 2020-05-10 06:44:07 +0000 | |
|---|---|---|
| committer | 2020-05-10 06:44:07 +0000 | |
| commit | 5bf84caaa4c940bb65ae5789904e9cf23f5febfd (patch) | |
| tree | 8044e913ab78ff5c473d5641a98c43fa0f3754e3 /usr.bin/dig/lib/isc/unix/socket.c | |
| parent | Use a double-underscore prefix for local variables declared in macros (diff) | |
| download | wireguard-openbsd-5bf84caaa4c940bb65ae5789904e9cf23f5febfd.tar.xz wireguard-openbsd-5bf84caaa4c940bb65ae5789904e9cf23f5febfd.zip | |
sockaddr_rtdns does not guarantee alignment of the buffer. So first
memcpy the address into a local var before comparing it with code
that reads ints using int *. at least sparc64 and landisk suffer from this.
with and ok jca@
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/socket.c')
0 files changed, 0 insertions, 0 deletions
