Incorrect parameters passed to GetDiskFreeSpaceEx causing random memory corruption...
authorJohan Lorensson <lateralusx.github@gmail.com>
Tue, 11 Jul 2017 21:23:54 +0000 (23:23 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 11 Jul 2017 21:23:54 +0000 (23:23 +0200)
commit46bc4f393e04952b438406617809026990375c01
treee58e1d387bfee3f2328eebdf6d492666f6ac0325
parentefd961c7216bc8cd82545841a6e3eba8aaa81d07
Incorrect parameters passed to GetDiskFreeSpaceEx causing random memory corruption. (#5196)

The call to GetDiskFreeSpaceEx passes uninitialized pointers to GetDiskFreeSpaceEx
instead of pointers to stack variables. This will cause random memory corruption and random
crashes on Windows builds.

This is a regression caused by the refactoring work done in this PR:

https://github.com/mono/mono/pull/4255
mono/metadata/w32file-win32.c