mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
corrected buffer lengths for memset()
obtained from: KAME MFC after: 3 days
This commit is contained in:
parent
8d6754f289
commit
45289b43fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107652
@ -314,8 +314,8 @@ main(argc, argv)
|
||||
size_t rthlen;
|
||||
|
||||
/* just to be sure */
|
||||
memset(&smsghdr, 0, sizeof(&smsghdr));
|
||||
memset(&smsgiov, 0, sizeof(&smsgiov));
|
||||
memset(&smsghdr, 0, sizeof(smsghdr));
|
||||
memset(&smsgiov, 0, sizeof(smsgiov));
|
||||
|
||||
preload = 0;
|
||||
datap = &outpack[ICMP6ECHOLEN + ICMP6ECHOTMLEN];
|
||||
|
Loading…
Reference in New Issue
Block a user