X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDisk%2FPartitionDxe%2FPartitionDxe.inf;h=089918f5a98c4158558c972eb69d517d929a5dd5;hp=596e1e96d4f10b5ae6972ae5969c9a42a92713f5;hb=493d8e3a5e86f78ef975e18dfa5754adce9e82de;hpb=a503cc69711318c29075a3e721522ef880a34520 diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf b/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf index 596e1e96d4..089918f5a9 100644 --- a/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf +++ b/MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf @@ -1,4 +1,4 @@ -#/** @file +## @file # Modules that produces the logic Block I/O protocol for every partition # it discovers via the physical Block I/O. # @@ -6,9 +6,14 @@ # the bytes from Start to End of the Parent Block I/O device. # The partition of physical BlockIo device supported is one of legacy MBR, GPT, # and "El Torito" partitions. -# -# Copyright (c) 2006 - 2008, Intel Corporation.
-# All rights reserved. This program and the accompanying materials +# +# Caution: This module requires additional review when modified. +# This driver will have external input - disk partition. +# This external input must be validated carefully to avoid security issue like +# buffer overflow, integer overflow. +# +# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
+# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php @@ -16,7 +21,7 @@ # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # -#**/ +## [Defines] INF_VERSION = 0x00010005 @@ -36,7 +41,7 @@ # COMPONENT_NAME2 = gPartitionComponentName2 # -[Sources.common] +[Sources] ComponentName.c Mbr.c Gpt.c @@ -69,6 +74,9 @@ gEfiBlockIoProtocolGuid ## BY_START gEfiDevicePathProtocolGuid ## BY_START gEfiDiskIoProtocolGuid ## BY_START + gEfiDiskIo2ProtocolGuid ## BY_START gEfiBlockIoProtocolGuid ## TO_START + gEfiBlockIo2ProtocolGuid ## TO_START gEfiDevicePathProtocolGuid ## TO_START gEfiDiskIoProtocolGuid ## TO_START + gEfiDiskIo2ProtocolGuid ## TO_START