[edk2] [PATCH v2 0/2] Avoid reading undefined contents in PrintLib

Hao Wu posted 2 patches 7 years, 7 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 22 ++++++++++----------
MdePkg/Library/BasePrintLib/PrintLibInternal.c            | 16 +++++++-------
2 files changed, 19 insertions(+), 19 deletions(-)
[edk2] [PATCH v2 0/2] Avoid reading undefined contents in PrintLib
Posted by Hao Wu 7 years, 7 months ago
V2 changes:
Refines the code logic to replace the 'if else' statments with the '? :'
operator.

V1 history:
This series add logic to avoid reading content beyond a ASCII format
string.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>

Hao Wu (2):
  MdePkg/BasePrintLib: Avoid reading content beyond the format string
  MdeModulePkg/PrintLib: Avoid reading content beyond the format string

 MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 22 ++++++++++----------
 MdePkg/Library/BasePrintLib/PrintLibInternal.c            | 16 +++++++-------
 2 files changed, 19 insertions(+), 19 deletions(-)

-- 
2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH v2 0/2] Avoid reading undefined contents in PrintLib
Posted by Gao, Liming 7 years, 7 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

> -----Original Message-----
> From: Wu, Hao A
> Sent: Wednesday, May 31, 2017 2:13 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A <hao.a.wu@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Gao, Liming <liming.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>
> Subject: [PATCH v2 0/2] Avoid reading undefined contents in PrintLib
> 
> V2 changes:
> Refines the code logic to replace the 'if else' statments with the '? :'
> operator.
> 
> V1 history:
> This series add logic to avoid reading content beyond a ASCII format
> string.
> 
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Michael Kinney <michael.d.kinney@intel.com>
> 
> Hao Wu (2):
>   MdePkg/BasePrintLib: Avoid reading content beyond the format string
>   MdeModulePkg/PrintLib: Avoid reading content beyond the format string
> 
>  MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 22 ++++++++++----------
>  MdePkg/Library/BasePrintLib/PrintLibInternal.c            | 16 +++++++-------
>  2 files changed, 19 insertions(+), 19 deletions(-)
> 
> --
> 2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel