提交 5aacc8a3 编写于 作者: X xiacong

<fix>

修复警告,判断对入参指针是否为空进行
Signed-off-by: Nxiacong <xiacong4@huawei.com>
Change-Id: I4a061df9f676e04eb23e16e5b513c59ba0bfdb09
Signed-off-by: Nxiacong <xiacong4@huawei.com>
上级 151fec97
......@@ -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.
先完成此消息的编辑!
想要评论请 注册