| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
lib: utils: implement internal safe_strcpy function The strlcpy() function has only recently become available in glibc. While this function prevents destination buffer overflow, it seems that it cannot guarantee read access only within the source buffer. this is for instance the case if the source string is not terminated by a'\0' character. Implement a safe_strcpy to ensure that no access is done out of the source and destination buffer ranges. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> | 3 个月前 | |
lib/utils/utilities.c: fix the coverity issue HIS_metric_violation Should only keep one return in one function Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 3 个月前 |