public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements
@ 2018-01-08  5:30 Hao Wu
  2018-01-08  5:30 ` [PATCH 1/5] BaseTools/C/Common: Fix code to be more readable Hao Wu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Hao Wu @ 2018-01-08  5:30 UTC (permalink / raw)
  To: edk2-devel; +Cc: Hao Wu, Ruiyu Ni, Yonghong Zhu, Liming Gao

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-12  0:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08  5:30 [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements Hao Wu
2018-01-08  5:30 ` [PATCH 1/5] BaseTools/C/Common: Fix code to be more readable Hao Wu
2018-01-08  5:30 ` [PATCH 2/5] BaseTools/C/Common: Fix potential memory leak Hao Wu
2018-01-08  5:30 ` [PATCH 3/5] BaseTools/DevicePath: " Hao Wu
2018-01-08  5:30 ` [PATCH 4/5] BaseTools/C/Common: Fix potential null pointer dereference Hao Wu
2018-01-08  5:30 ` [PATCH 5/5] BaseTools/DevicePath: " Hao Wu
2018-01-11  3:09 ` [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements Zhu, Yonghong
2018-01-12  1:00 ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox