[USER32_APITEST] Disable WndProc test when runtime checks are enabled
[KERNEL32_WINETEST] Zero initialize a buffer. This is necessary, since we fail all calls to GetVolumePathNamesForVolumeNameW and thus never get any data into the buffer, which can later result in a buffer-overrun, when doing a lstrlenW on it.
svn path=/trunk/; revision=64831
START_TEST(NtContinue)
{
+#ifdef __RUNTIME_CHECKS__
+ skip("This test breaks MSVC runtime checks!");
+ return;
+#endif /* __RUNTIME_CHECKS__ */
initrand();
/* First time */
START_TEST(WndProc)
{
+#ifdef __RUNTIME_CHECKS__
+ skip("This test breaks MSVC runtime checks!");
+ return;
+#endif /* __RUNTIME_CHECKS__ */
test_wndproc();
}
WCHAR volume[MAX_PATH], buffer[MAX_PATH];
DWORD len, error;
+#ifdef __REACTOS__
+ /* due to failing all calls to GetVolumeNameForVolumeMountPointW, this
+ * buffer never gets initialized and could cause a buffer overflow later */
+ volume[0] = 0;
+#endif /* __REACTOS__ */
+
if (!pGetVolumePathNamesForVolumeNameW || !pGetVolumeNameForVolumeMountPointW)
{
win_skip("required functions not found\n");