1 Star 0 Fork 11

琪玹珑/polkit

forked from src-anolis-os/polkit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
polkit-0.115-CVE-2021-3560.patch 412 Bytes
一键复制 编辑 原始数据 按行查看 历史
ZhouWeitao 提交于 2022-01-26 20:35 . import polkit-0.115-13.el8_5.1.src
--- a/src/polkit/polkitsystembusname.c
+++ b/src/polkit/polkitsystembusname.c
@@ -435,6 +435,9 @@ polkit_system_bus_name_get_creds_sync (PolkitSystemBusName *system_bus
while (!((data.retrieved_uid && data.retrieved_pid) || data.caught_error))
g_main_context_iteration (tmp_context, TRUE);
+ if (data.caught_error)
+ goto out;
+
if (out_uid)
*out_uid = data.uid;
if (out_pid)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/SmallPegasus/polkit.git
git@gitee.com:SmallPegasus/polkit.git
SmallPegasus
polkit
polkit
a8

搜索帮助

344bd9b3 5694891 D2dac590 5694891