未验证 提交 d824b647 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!458 Backport CVEs and bugfixes

Merge Pull Request from: @sanglipeng 
 
Pull new CVEs:
CVE-2023-23000

driver bugfix from Sang Lipeng 
 
Link:https://gitee.com/openeuler/kernel/pulls/458 

Reviewed-by: Yue Haibing <yuehaibing@huawei.com> 
Reviewed-by: Jialin Zhang <zhangjialin11@huawei.com> 
Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com> 
...@@ -449,7 +449,7 @@ tegra_xusb_find_port_node(struct tegra_xusb_padctl *padctl, const char *type, ...@@ -449,7 +449,7 @@ tegra_xusb_find_port_node(struct tegra_xusb_padctl *padctl, const char *type,
name = kasprintf(GFP_KERNEL, "%s-%u", type, index); name = kasprintf(GFP_KERNEL, "%s-%u", type, index);
if (!name) { if (!name) {
of_node_put(ports); of_node_put(ports);
return ERR_PTR(-ENOMEM); return NULL;
} }
np = of_get_child_by_name(ports, name); np = of_get_child_by_name(ports, name);
kfree(name); kfree(name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册