diff options
author | delphij <delphij@FreeBSD.org> | 2016-01-22 07:32:39 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-01-22 07:32:39 +0000 |
commit | 51765b7c6f50b7a90576344f7623019de4f88d5d (patch) | |
tree | 99811aace67dff7ddd2c157e5659a28d88a3405b /contrib/ntp/sntp/main.c | |
parent | 3e83d3a20344f0535767a5d9cb110d3e9571c049 (diff) | |
parent | a835b8ff526b5ef2c37fdb4f48180c215f58bb53 (diff) | |
download | FreeBSD-src-51765b7c6f50b7a90576344f7623019de4f88d5d.zip FreeBSD-src-51765b7c6f50b7a90576344f7623019de4f88d5d.tar.gz |
MFV r294491: ntp 4.2.8p6.
Security: CVE-2015-7973, CVE-2015-7974, CVE-2015-7975
Security: CVE-2015-7976, CVE-2015-7977, CVE-2015-7978
Security: CVE-2015-7979, CVE-2015-8138, CVE-2015-8139
Security: CVE-2015-8140, CVE-2015-8158
With hat: so
Diffstat (limited to 'contrib/ntp/sntp/main.c')
-rw-r--r-- | contrib/ntp/sntp/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/sntp/main.c b/contrib/ntp/sntp/main.c index 870db93..78ed7c2 100644 --- a/contrib/ntp/sntp/main.c +++ b/contrib/ntp/sntp/main.c @@ -1135,7 +1135,7 @@ generate_pkt ( if (pkt_key != NULL) { x_pkt->exten[0] = htonl(key_id); mac_size = 20; /* max room for MAC */ - mac_size = make_mac((char *)x_pkt, pkt_len, mac_size, + mac_size = make_mac(x_pkt, pkt_len, mac_size, pkt_key, (char *)&x_pkt->exten[1]); if (mac_size > 0) pkt_len += mac_size + 4; |