[KERNEL32] Use proper size for allocating buffer in GetVolumeInformationA(). This...
authorPierre Schweitzer <pierre@reactos.org>
Sat, 14 Oct 2017 21:19:12 +0000 (23:19 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 14 Oct 2017 21:19:12 +0000 (23:19 +0200)
commitdc8bfeabcffeaf2bcdc6907af1313e7a7866314e
tree80a8dd4d3ad8e1d7586a25ba24a2a3e70a05394e
parent8dea67f8ba2bd2b83afcd40a4c53235be4596d37
[KERNEL32] Use proper size for allocating buffer in GetVolumeInformationA(). This was leading to allocate a too small buffer under certain conditions and to overrun it.
This fixes JRE7 setup.
This regression was brought in by r75969.

CORE-13888
dll/win32/kernel32/client/file/volume.c