cd4ae3e155
BaseTools: CommonLib Fix Crash to write the last byte
...
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
(cherry picked from commit 4faf534046
)
2018-01-30 10:56:25 +08:00
4f50b16caa
BaseTools/C/Common: Fix potential null pointer dereference
...
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
(cherry picked from commit 66329d53bd
)
2018-01-15 10:48:32 +08:00
57bcc39da2
BaseTools/C/Common: Fix potential memory leak
...
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
(cherry picked from commit 1f7e7e70d2
)
2018-01-15 10:48:32 +08:00
a908ec6d17
BaseTools CommonLib: Fix printf %llx issue on UINT64
...
UINT64 is defined as the different type for the different ARCHs. To
let it work for all archs and compilers, add (unsigned long long) for
the input value together with %llx.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
(cherry picked from commit beacbc7492
)
2018-01-12 09:07:05 +08:00
309e37a229
BaseTools: Add PcdValueCommon logic into C source CommonLib
...
PcdValueCommon is used to calculate structure pcd value.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2017-12-25 11:05:45 +08:00