mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[EXT2] Correctly zero memory before using it
This commit is contained in:
parent
c8719ee865
commit
76910c358f
1 changed files with 3 additions and 3 deletions
|
@ -2072,9 +2072,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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue