audk/MdeModulePkg/Universal
Erich McMillan 33f517445b MdeModulePkg/SmbiosDxe: Fix pointer and buffer overflow CodeQL alerts
Details for these CodeQL alerts can be found here:

- Pointer overflow check (cpp/pointer-overflow-check):
  - https://cwe.mitre.org/data/definitions/758.html

- Potential buffer overflow check (cpp/potential-buffer-overflow):
  - https://cwe.mitre.org/data/definitions/676.html

CodeQL alert:

  - Line 1612 in MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c
    - Type: Pointer overflow check
    - Severity: Low
    - Problem: Range check relying on pointer overflow

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Erich McMillan <emcmillan@microsoft.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Erich McMillan <emcmillan@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Oliver Smith-Denny <osd@smith-denny.com>
2023-04-03 15:29:08 +00:00
..
Acpi MdeModulePkg: Supporting S3 in 64bit PEI 2022-12-19 06:12:56 +00:00
BdsDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BootManagerPolicyDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CapsuleOnDiskLoadPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CapsulePei MdeModulePkg: Fix imbalanced debug macros 2022-09-09 01:42:39 +00:00
CapsuleRuntimeDxe MdeModulePkg/CapsuleRuntimeDxe: Add LoongArch64 architecture. 2022-10-14 02:16:33 +00:00
Console MdeModulePkg: remove garbage pixels in LaffStd glyphs 2023-01-20 17:39:25 +00:00
DebugPortDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DebugServicePei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DebugSupportDxe MdeModulePkg: Replace Opcode with the corresponding instructions. 2022-03-01 01:45:47 +00:00
DevicePathDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Disk MdeModulePkg/PartitionDxe: Add break to handle invalid LBA0 in MBR 2022-01-10 07:16:05 +00:00
DisplayEngineDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DriverHealthManagerDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DriverSampleDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EbcDxe MdeModulePkg: Consume new alignment-related macros 2023-04-01 23:11:44 +00:00
EsrtDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EsrtFmpDxe MdeModulePkg/EsrtFmpDxe: Support multiple devices with 0 HardwareInstance 2023-02-15 01:52:59 +00:00
FaultTolerantWriteDxe MdeModulePkg/FaultTolerantWrite: Consume Variable Flash Info 2022-05-19 06:11:20 +00:00
FaultTolerantWritePei MdeModulePkg/FaultTolerantWrite: Consume Variable Flash Info 2022-05-19 06:11:20 +00:00
FileExplorerDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FvSimpleFileSystemDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HiiDatabaseDxe MdeModulePkg/HiiDatabase: Fix Setup numeric default value incorrect issue 2022-04-08 02:08:35 +00:00
HiiResourcesSampleDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LegacyRegion2Dxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LoadFileOnFv2 MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LockBox/SmmLockBox MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryTest MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Metronome MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MonotonicCounterRuntimeDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PCD MdeModulePkg/PCD: Pcd initialize DXE have assert 2022-05-09 11:10:56 +00:00
PcatSingleSegmentPciCfg2Pei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PlatformDriOverrideDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PrintDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RegularExpressionDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ReportStatusCodeRouter MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ResetSystemPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ResetSystemRuntimeDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SectionExtractionDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SectionExtractionPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecurityStubDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SerialDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SetupBrowserDxe MdeModulePkg/SetupBrowserDxe:Follow spec'd way to reconnect driver 2022-07-22 06:19:53 +00:00
SmbiosDxe MdeModulePkg/SmbiosDxe: Fix pointer and buffer overflow CodeQL alerts 2023-04-03 15:29:08 +00:00
SmbiosMeasurementDxe MdeModulePkg SmbiosMeasurementDxe: Add Type4 CurrentSpeed to filter table 2022-09-14 10:11:53 +08:00
SmmCommunicationBufferDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StatusCodeHandler MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TimestampDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Variable MdeModulePkg/Variable: Attribute combination should return EFI_UNSUPPORTED 2023-02-15 04:29:36 +00:00
WatchdogTimerDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00