]> git.proxmox.com Git - mirror_edk2.git/commit - Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to...
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 17 Nov 2011 01:59:30 +0000 (01:59 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 17 Nov 2011 01:59:30 +0000 (01:59 +0000)
commit82b760433d61b4c056975571a5470ca1faa42a85
treef8e3f5f04d6bf09b5340647be897f2b538ee4472
parente45e09c75b11b6c118bf868f5002c00bec8af478
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory.

Signed-off-by: niruiyu
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12728 6f19259b-4bc3-4df7-8a09-765794883524
Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c