1
0
mirror of https://github.com/bobranten/Ext4Fsd.git synced 2025-10-29 13:18:30 -05:00

corrected the initialization of three arrays

This commit is contained in:
Bo Brantén
2020-05-18 23:56:05 +02:00
parent 1785c39e2a
commit 9551666fbf

View File

@@ -2068,9 +2068,9 @@ Ext2ParseRegistryVolumeParams(
USHORT i, j, k;
RtlZeroMemory(Codepage, CODEPAGE_MAXLEN);
RtlZeroMemory(Prefix, HIDINGPAT_LEN);
RtlZeroMemory(Suffix, HIDINGPAT_LEN);
RtlZeroMemory(Codepage, sizeof(WCHAR) * CODEPAGE_MAXLEN);
RtlZeroMemory(Prefix, sizeof(WCHAR) * HIDINGPAT_LEN);
RtlZeroMemory(Suffix, sizeof(WCHAR) * HIDINGPAT_LEN);
RtlZeroMemory(MountPoint, sizeof(USHORT) * 4);
RtlZeroMemory(DrvLetter, sizeof(CHAR) * 4);