svn commit: r322136 - stable/11/sys/dev/hyperv/utilities
Sepherosa Ziehau
sephe at FreeBSD.org
Mon Aug 7 03:14:46 UTC 2017
Author: sephe
Date: Mon Aug 7 03:14:45 2017
New Revision: 322136
URL: https://svnweb.freebsd.org/changeset/base/322136
Log:
MFC 321965
hyperv/kvp: Use proper size macro for adapter id.
Submitted by: Christopher Ertl <Christopher.Ertl microsoft com>
Sponsored by: Microsoft
Modified:
stable/11/sys/dev/hyperv/utilities/hv_kvp.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/hyperv/utilities/hv_kvp.c
==============================================================================
--- stable/11/sys/dev/hyperv/utilities/hv_kvp.c Mon Aug 7 03:03:40 2017 (r322135)
+++ stable/11/sys/dev/hyperv/utilities/hv_kvp.c Mon Aug 7 03:14:45 2017 (r322136)
@@ -253,7 +253,7 @@ hv_kvp_convert_utf8_ipinfo_to_utf16(struct hv_kvp_msg
UNUSED_FLAG,
&err_dns);
utf8_to_utf16((uint16_t *)host_ip_msg->kvp_ip_val.adapter_id,
- MAX_IP_ADDR_SIZE,
+ MAX_ADAPTER_ID_SIZE,
(char *)umsg->body.kvp_ip_val.adapter_id,
strlen((char *)umsg->body.kvp_ip_val.adapter_id),
UNUSED_FLAG,
More information about the svn-src-stable-11
mailing list