forked from osmocom/wireshark
Use SecureZeroMemory instead of plain ZeroMemory because checkAPI says to.
svn path=/trunk/; revision=52727
This commit is contained in:
parent
63eac3f6fd
commit
87c65ffc5b
|
@ -210,7 +210,7 @@ gboolean IsWindowsVistaOrLater()
|
|||
DWORDLONG dwlConditionMask = 0;
|
||||
int op = VER_GREATER_EQUAL;
|
||||
|
||||
ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
|
||||
SecureZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
|
||||
osvi.dwMajorVersion = 6;
|
||||
VER_SET_CONDITION(dwlConditionMask, VER_MAJORVERSION, op);
|
||||
|
|
Loading…
Reference in New Issue