From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 A460981DEE for ; Mon, 16 Jan 2017 21:40:11 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 16 Jan 2017 21:40:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,243,1477983600"; d="scan'208";a="1083841537" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by orsmga001.jf.intel.com with ESMTP; 16 Jan 2017 21:40:10 -0800 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Jiewen Yao , Liming Gao , Michael Kinney Date: Tue, 17 Jan 2017 13:39:38 +0800 Message-Id: <1484631581-6264-1-git-send-email-hao.a.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.0 Subject: [PATCH 0/2] PrintLib: Add safe print functions [A|U]ValueToStringS X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 05:40:11 -0000 Add the following 2 safe print functions in PrintLib: UnicodeValueToStringS AsciiValueToStringS Cc: Jiewen Yao Cc: Liming Gao Cc: Michael Kinney Hao Wu (2): MdePkg/BasePrintLib: Add safe print functions [A|U]ValueToStringS MdeModulePkg/PrintLib: Add safe print functions [A|U]ValueToStringS .../Library/DxePrintLibPrint2Protocol/PrintLib.c | 219 ++++++++++++++++++++- MdeModulePkg/Universal/PrintDxe/Print.c | 73 ++++++- MdePkg/Include/Library/PrintLib.h | 121 ++++++++++++ MdePkg/Library/BasePrintLib/PrintLib.c | 128 ++++++++++++ MdePkg/Library/BasePrintLib/PrintLibInternal.c | 204 +++++++++++++++++++ MdePkg/Library/BasePrintLib/PrintLibInternal.h | 56 ++++++ 6 files changed, 796 insertions(+), 5 deletions(-) -- 1.9.5.msysgit.0