From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.126; helo=mga18.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0C02320968914 for ; Mon, 25 Jun 2018 03:38:18 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2018 03:38:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,270,1526367600"; d="scan'208";a="61964512" Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.158.46]) by orsmga003.jf.intel.com with ESMTP; 25 Jun 2018 03:38:15 -0700 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Jiewen Yao , Ruiyu Ni , Bret Barkelew Date: Mon, 25 Jun 2018 18:38:11 +0800 Message-Id: <1529923093-156972-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [PATCH 0/2] UsbBus: Fix wrong buffer length used to read hub desc X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 10:38:19 -0000 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=973 Cc: Jiewen Yao Cc: Ruiyu Ni Cc: Bret Barkelew Star Zeng (2): MdeModulePkg UsbBusDxe: Fix wrong buffer length used to read hub desc MdeModulePkg UsbBusPei: Fix wrong buffer length used to read hub desc MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c | 96 +++++++++------------------ MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.h | 14 +--- MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.c | 108 ++++++++++--------------------- MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h | 4 +- 4 files changed, 70 insertions(+), 152 deletions(-) -- 2.7.0.windows.1