audk/FatPkg/EnhancedFatDxe
Hao Wu e76bc43e5d FatPkg EnhancedFatDxe: Use safe string functions
Unsafe string functions are replaced with safe ones.

Safe string functions will assert if DestMax is not greater than
StrnLenS(Source, DestMax). Therefore, additional assert for checking the
size of source and destination buffers can be removed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

(based on FatPkg commit 2cb92b4f19b096daf133d6501afa13e5a85062c5)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2016-04-06 23:22:43 -07:00
..
ComponentName.c Fix the comments to follow the UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2016-04-06 23:22:43 -07:00
Data.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Debug.c Update copyright notice format 2016-04-06 23:22:43 -07:00
Delete.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
DirectoryCache.c Update copyright notice format 2016-04-06 23:22:43 -07:00
DirectoryManage.c FatPkg EnhancedFatDxe: Use safe string functions 2016-04-06 23:22:43 -07:00
DiskCache.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Fat.c Fix a bug that prevents Fat driver being unloaded successfully. 2016-04-06 23:22:43 -07:00
Fat.h FatPkg EnhancedFatDxe: Use safe string functions 2016-04-06 23:22:43 -07:00
Fat.inf FatPkg: INF/DEC file updates to EDK II packages 2016-04-06 23:22:43 -07:00
Fat.uni FatPkg: INF/DEC file updates to EDK II packages 2016-04-06 23:22:43 -07:00
FatExtra.uni FatPkg: INF/DEC file updates to EDK II packages 2016-04-06 23:22:43 -07:00
FatFileSystem.h Update copyright notice format 2016-04-06 23:22:43 -07:00
FileName.c FatPkg EnhancedFatDxe: Use safe string functions 2016-04-06 23:22:43 -07:00
FileSpace.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Flush.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Hash.c FatPkg EnhancedFatDxe: Use safe string functions 2016-04-06 23:22:43 -07:00
Info.c EFI_FILE_PROTOCOL spec conformance bug fix. 2016-04-06 23:22:43 -07:00
Init.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Misc.c Remove the RemoteEntryList() because the Task isn't added to the linked list upon failure. 2016-04-06 23:22:43 -07:00
Open.c Refine code to make it more safely. 2016-04-06 23:22:43 -07:00
OpenVolume.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
ReadWrite.c EFI_FILE_PROTOCOL spec conformance bug fix. 2016-04-06 23:22:43 -07:00
UnicodeCollation.c InitializeUnicodeCollationSupportWorker mixed the use of Status variable for OpenProtocol and return, it will cause the function to return EFI_SUCCESS even the proper UnicodeCollation is absent. Add ReturnStatus to hold the return status. 2016-04-06 23:22:43 -07:00