未验证 提交 5ecb4dd3 编写于 作者: O openharmony_ci 提交者: Gitee

!526 解决在libc.so中check_verinfo函数crash的问题(20220816分支)

Merge pull request !526 from dhy308/cherry-pick-1662610263
......@@ -488,7 +488,7 @@ static int check_vna_hash(Verdef *def, int16_t vsym, uint32_t vna_hash)
static int check_verinfo(Verdef *def, int16_t *versym, uint32_t index, struct verinfo *verinfo, char *strings)
{
/* if the versym and verinfo is null , then not need version. */
if (!versym) {
if (!versym || !def) {
if (strlen(verinfo->v) == 0) {
return 1;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册