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

!60 fix: 清除代码扫描告警

Merge pull request !60 from 夏不白/fix_scan_warning
......@@ -547,6 +547,9 @@ urndis_ctrl_handle_query(struct urndis_softc *sc,
{
const struct urndis_query_comp *msg;
uint64_t limit;
if (hdr == NULL || buf == NULL || bufsz == NULL) {
return RNDIS_STATUS_FAILURE;
}
msg = (const struct urndis_query_comp *)hdr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册