]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
MdeModulePkg/RamDiskDxe: Restrict on RAM disk size (CVE-2018-12180)
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / RamDiskDxe / RamDiskImpl.h
index 08a8ca94c9db68ee5680e6988a58c20d850b4918..72f2bfe17932603e25b7e730e2358443bb62c03c 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The header file of RamDiskDxe driver.\r
 \r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -49,9 +49,9 @@
 ///\r
 \r
 //\r
-// Block size for RAM disk\r
+// Default block size for RAM disk\r
 //\r
-#define RAM_DISK_BLOCK_SIZE 512\r
+#define RAM_DISK_DEFAULT_BLOCK_SIZE 512\r
 \r
 //\r
 // Iterate through the double linked list. NOT delete safe\r