]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiUsbLib/UsbDxeLib.c
MdePkg UefiDevicePathLib: Validate before touch input buffer.
[mirror_edk2.git] / MdePkg / Library / UefiUsbLib / UsbDxeLib.c
index 521fdd0101ae48fcb22c3f20484686c0579f8f1e..b1fcbc50970fc5e9bd27cd5cefc624f8395a64ff 100644 (file)
@@ -3,12 +3,12 @@
   The library provides the USB Standard Device Requests defined \r
   in Usb specification 9.4 section.\r
   \r
-  Copyright (c) 2004 - 2008, Intel Corporation All rights\r
-  reserved. This program and the accompanying materials are\r
+  Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials are\r
   licensed and made available under the terms and conditions of\r
   the BSD License which accompanies this distribution.  The full\r
   text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
+  http://opensource.org/licenses/bsd-license.php.\r
   \r
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
@@ -628,7 +628,7 @@ UsbClearEndpointHalt (
 \r
   ZeroMem (&EndpointDescriptor, sizeof (EFI_USB_ENDPOINT_DESCRIPTOR));\r
   //\r
-  // First seach the endpoint descriptor for that endpoint addr\r
+  // First search the endpoint descriptor for that endpoint addr\r
   //\r
   Result = UsbIo->UsbGetInterfaceDescriptor (\r
                     UsbIo,\r