Yin Fengwei
e65b98bf36
DM: lpc_deinit doesn't release all resources allocated.
...
Also refine the failure path of lpc_init to make sure all
resources allocated get release.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-05-15 17:25:55 +08:00
Yonghua Huang
b6d73be1a6
Enable FORTIFY and FORMAT SECURITY compile flags
...
1. Enable below 2 defenses in Makefile
"-O2 -D_FORTIFY_SOURCE=2"
"-Wformat -Wformat-security"
2. Update related source code impacted by above 2 flags
Change-Id: Ib42214848f030b4cf508cd7c52a7e3cc809435d9
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2018-05-15 17:19:37 +08:00
Anthony Xu
bd31b1c53e
initial import
...
internal commit: 0ab1ea615e5cfbb0687a9d593a86a7b774386076
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2018-05-11 14:44:28 +08:00