Thanks for addressing the comment! Acked-by: Alin Gabriel Serdean <[email protected]>
Alin. > -----Original Message----- > From: [email protected] [mailto:ovs-dev- > [email protected]] On Behalf Of Sairam Venugopal > Sent: Friday, January 27, 2017 9:56 AM > To: [email protected] > 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 <[email protected]> > Reported-by: Sairam Venugopal <[email protected]> > Reported-at: openvswitch/ovs-issues#121 > --- _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
