commit | 85c61151e6169bf1e3cfebe7eaa6ecebb8fed80f | [log] [tgz] |
---|---|---|
author | zhenyu.gao <zhenyu.gao@amlogic.com> | Fri Jun 07 19:04:31 2024 +0800 |
committer | gerrit autosubmit <gerrit.autosubmit@amlogic.com> | Tue Jun 11 01:50:16 2024 -0700 |
tree | a4133ff2ece49483f42bc633db413944cd5f1774 | |
parent | e0c86923a55d40e75a683012bdf1bff705459eb6 [diff] |
ubootenv: CB1 Fix Coverity Check error [1/1] PD#SWPL-171583 Problem: Coverity check requirement Solution: 1,Reduce the crash probability when calling "bootenv_get_value" 2,Using strncpy instead of strcpy to reduce the probability of crash 3,Optimize the fclose error handling process Verify: jenkins Signed-off-by: zhenyu.gao <zhenyu.gao@amlogic.com> Change-Id: Iea8f056e622a47aa02a34aa28746131a0b221757