Thanks for addressing the comment! Acked-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com>
Alin. > -----Original Message----- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Sairam Venugopal > Sent: Friday, January 27, 2017 9:56 AM > To: d...@openvswitch.org > Subject: [ovs-dev] [PATCH v2] Windows: Fix wmi.c to use count of wchar_t > instead of sizeof > > wcscat_s and wcscpy_s requires number of elements as argument. wchar_t > uses 2 bytes for storage and using sizeof(internal_port_query) causes access > violation error on Windows 2012 R2 (64 bit). This patch introduces a #define > WMI_QUERY_COUNT set to 2048 and uses that instead. > > Signed-off-by: Sairam Venugopal <vsai...@vmware.com> > Reported-by: Sairam Venugopal <vsai...@vmware.com> > Reported-at: openvswitch/ovs-issues#121 > --- _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev