[google/syzkaller] 33592c: sys/freebsd: fix struct sockaddr_storage usage

14 views
Skip to first unread message

Michael Tüxen

unread,
Apr 25, 2021, 10:50:38 AM4/25/21
to syzk...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/google/syzkaller
Commit: 33592ceefd8b333ec24684777fc4ddcdfe7822f5
https://github.com/google/syzkaller/commit/33592ceefd8b333ec24684777fc4ddcdfe7822f5
Author: Michael Tuexen <tue...@fh-muenster.de>
Date: 2021-04-25 (Sun, 25 Apr 2021)

Changed paths:
M sys/freebsd/socket_inet.txt
M sys/freebsd/socket_inet_sctp.txt

Log Message:
-----------
sys/freebsd: fix struct sockaddr_storage usage

The size of struct sockaddr_storage is always 128 bytes.
So the padding after struct sockaddr_in, which is of size 16,
needs to be an array of 14 uint64s.
This allows to describe the structures used in the SCTP socket
options as unpacked


Reply all
Reply to author
Forward
0 new messages