在/CM/src/cm_ctl/ctl_res_list.cpp中的144行左右存在如下代码
resName = GetValueStrFromCJson(item, RES_NAME);
if (resName == NULL) {
resName = NULL;
} else {
isCanPrint = CM_TRUE;
}
info->resName.len = CM_MAX(info->resName.len, (uint32)strlen(resName));
如果resName为NULL,则strlen(resName)的参数为NULL,会导致段错误问题。
Hey @王虎, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hi @王虎,
if you want to get quick review about your issue, please contact the owner in first: @yz ,
and then any of the maintainers: @zjxqxf , @wangwei5
and then any of the committers: @yz , @dengyong , @junhangis , @zhulixia , @cchen676 , @陈栋 , @wanghuanzhuo , @胡习林 , @peibaoyi
if you have any question, please contact the SIG: CM.
登录 后才可以发表评论