audk/MdeModulePkg/Library
Ruiyu Ni 579b5ef204 MdeModulePkg: Fix potential integer overflow issue
In certain rare circumstance, the data passed from outside of SMM may be
invalid resulting the integer overflow. The issue are found by code review.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17908 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-10 02:16:42 +00:00
..
AuthVariableLibNull MdeModulePkg: Add AuthVariableLib LibraryClass 2015-07-01 03:04:18 +00:00
BasePlatformHookLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
BaseResetSystemLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
BaseSerialPortLib16550 MdePkg/BaseSerialPortLib16550: Support UARTs with a register stride greater than 1 byte. 2015-04-27 19:44:40 +00:00
BaseSortLib MdeModulePkg: Fix EOL to be DOS format. 2015-05-13 02:23:44 +00:00
CpuExceptionHandlerLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
CustomizedDisplayLib Refine code to keep code alignment 2015-06-09 08:13:23 +00:00
DebugAgentLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCapsuleLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCoreMemoryAllocationLib MdeModulePkg: Fix typo. 2015-03-13 08:13:16 +00:00
DxeCorePerformanceLib MdeModulePkg: Use StrnCpyS instead of StrCpyS to indicate the copy length from the source. 2015-07-07 03:01:07 +00:00
DxeCrc32GuidedSectionExtractLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeDebugPrintErrorLevelLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeDpcLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeHttpLib MdeModulePkg: Add HttpLib. 2015-07-07 09:29:00 +00:00
DxeIpIoLib MdeModulePkg: Source fixes and cleanup for ARMGCC compiles 2014-12-04 00:32:24 +00:00
DxeNetLib MdeModulePkg: Replace unsafe string functions. 2015-07-08 06:35:37 +00:00
DxePerformanceLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxePrintLibPrint2Protocol MdeModulePkg: Add %u and %lu support for PrintLib and DebugLib. 2015-06-08 05:34:08 +00:00
DxeReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeSecurityManagementLib MdeModulePkg: SecurityManagementLib to handle LoadFile DevicePath 2015-07-02 04:27:32 +00:00
DxeSmmPerformanceLib MdeModulePkg DxeSmmPerformanceLib: Cover no SMM performance data case. 2015-06-04 13:16:18 +00:00
DxeTcpIoLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeUdpIoLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
LockBoxNullLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
LzmaCustomDecompressLib MdeModulePkg: Add two library instances 2015-04-03 02:50:57 +00:00
OemHookStatusCodeLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiCrc32GuidedSectionExtractLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiDebugPrintHobLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiDxeDebugLibReportStatusCode MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode: Use safe string functions to refine code. 2015-07-01 08:14:36 +00:00
PeiPerformanceLib MdeModulePkg: Refine code to use Strn**S safe functions instead of Str**S ones in some cases. 2015-07-08 01:08:09 +00:00
PeiRecoveryLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiS3LibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PiDxeS3BootScriptLib MdeModulePkg PiDxeS3BootScriptLib: Initialize the EFI_BOOT_SCRIPT_TABLE_HEADER.Version. 2015-04-13 01:56:57 +00:00
PiSmmCoreMemoryAllocationLib MdeModulePkg: Enhance the comments for PiSmmCoreMemoryAllocationLib instance. 2015-06-19 01:58:09 +00:00
PiSmmCoreSmmServicesTableLib MdeModulePkg: Add InSmm() API in PiSmmCoreSmmServicesTableLib instance 2014-11-05 12:09:22 +00:00
PlatformBootManagerLibNull MdeModulePkg: Fix INF to point to correct UNI file. 2015-05-21 06:50:07 +00:00
PlatformHookLibSerialPortPpi MdeModulePkg: Update library class name of PlatformHookLibSerialPortPpi.inf 2015-02-10 07:33:19 +00:00
RuntimeDxeReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmCorePerformanceLib MdeModulePkg: Fix potential integer overflow issue 2015-07-10 02:16:42 +00:00
SmmCorePlatformHookLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmLockBoxLib MdeModulePkg: Fix potential integer overflow issue 2015-07-10 02:16:42 +00:00
SmmPerformanceLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
TpmMeasurementLibNull MdeModulePkg: Move TpmMeasurementLib LibraryClass from SecurityPkg 2015-07-01 03:01:34 +00:00
UefiBootManagerLib MdeModulePkg: Update UefiBootManagerLib to support HTTP boot option creation 2015-07-07 05:43:00 +00:00
UefiHiiLib MdeModulePkg:Use safe string functions 2015-06-29 02:36:31 +00:00
UefiHiiServicesLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
UefiSortLib MdeModulePkg: Refine the format of INF files. 2015-01-22 02:02:08 +00:00