[edk2] [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements

Hao Wu posted 5 patches 6 years, 11 months ago
Failed in applying to current master (apply log)
BaseTools/Source/C/Common/CommonLib.c              |  2 +-
BaseTools/Source/C/Common/PcdValueCommon.c         | 10 ++++++++++
BaseTools/Source/C/DevicePath/DevicePath.c         |  6 ++++++
BaseTools/Source/C/DevicePath/DevicePathFromText.c | 11 +++++++++++
4 files changed, 28 insertions(+), 1 deletion(-)
[edk2] [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements
Posted by Hao Wu 6 years, 11 months ago
The series refines the C/C++ source codes within
BaseTools/C/Source/Common/ and BaseTools/Source/C/DevicePath/ for the
below catagories:

* Resolve possible resource/memory leaks

* Resolve possible NULL pointer dereferences

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>

Hao Wu (5):
  BaseTools/C/Common: Fix code to be more readable
  BaseTools/C/Common: Fix potential memory leak
  BaseTools/DevicePath: Fix potential memory leak
  BaseTools/C/Common: Fix potential null pointer dereference
  BaseTools/DevicePath: Fix potential null pointer dereference

 BaseTools/Source/C/Common/CommonLib.c              |  2 +-
 BaseTools/Source/C/Common/PcdValueCommon.c         | 10 ++++++++++
 BaseTools/Source/C/DevicePath/DevicePath.c         |  6 ++++++
 BaseTools/Source/C/DevicePath/DevicePathFromText.c | 11 +++++++++++
 4 files changed, 28 insertions(+), 1 deletion(-)

-- 
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 0/5] BaseTools/Common & DevicePath: Code refinements
Posted by Zhu, Yonghong 6 years, 11 months ago
Please help to update copyright year when push it.

Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>

Best Regards,
Zhu Yonghong


-----Original Message-----
From: Wu, Hao A 
Sent: Monday, January 08, 2018 1:31 PM
To: edk2-devel@lists.01.org
Cc: Wu, Hao A <hao.a.wu@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>; Zhu, Yonghong <yonghong.zhu@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements

The series refines the C/C++ source codes within BaseTools/C/Source/Common/ and BaseTools/Source/C/DevicePath/ for the below catagories:

* Resolve possible resource/memory leaks

* Resolve possible NULL pointer dereferences

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>

Hao Wu (5):
  BaseTools/C/Common: Fix code to be more readable
  BaseTools/C/Common: Fix potential memory leak
  BaseTools/DevicePath: Fix potential memory leak
  BaseTools/C/Common: Fix potential null pointer dereference
  BaseTools/DevicePath: Fix potential null pointer dereference

 BaseTools/Source/C/Common/CommonLib.c              |  2 +-
 BaseTools/Source/C/Common/PcdValueCommon.c         | 10 ++++++++++
 BaseTools/Source/C/DevicePath/DevicePath.c         |  6 ++++++
 BaseTools/Source/C/DevicePath/DevicePathFromText.c | 11 +++++++++++
 4 files changed, 28 insertions(+), 1 deletion(-)

--
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 0/5] BaseTools/Common & DevicePath: Code refinements
Posted by Gao, Liming 6 years, 11 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

> -----Original Message-----
> From: Wu, Hao A
> Sent: Monday, January 8, 2018 1:31 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A <hao.a.wu@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>; Zhu, Yonghong <yonghong.zhu@intel.com>; Gao, Liming
> <liming.gao@intel.com>
> Subject: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements
> 
> The series refines the C/C++ source codes within
> BaseTools/C/Source/Common/ and BaseTools/Source/C/DevicePath/ for the
> below catagories:
> 
> * Resolve possible resource/memory leaks
> 
> * Resolve possible NULL pointer dereferences
> 
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Cc: Yonghong Zhu <yonghong.zhu@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> 
> Hao Wu (5):
>   BaseTools/C/Common: Fix code to be more readable
>   BaseTools/C/Common: Fix potential memory leak
>   BaseTools/DevicePath: Fix potential memory leak
>   BaseTools/C/Common: Fix potential null pointer dereference
>   BaseTools/DevicePath: Fix potential null pointer dereference
> 
>  BaseTools/Source/C/Common/CommonLib.c              |  2 +-
>  BaseTools/Source/C/Common/PcdValueCommon.c         | 10 ++++++++++
>  BaseTools/Source/C/DevicePath/DevicePath.c         |  6 ++++++
>  BaseTools/Source/C/DevicePath/DevicePathFromText.c | 11 +++++++++++
>  4 files changed, 28 insertions(+), 1 deletion(-)
> 
> --
> 2.12.0.windows.1

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