Commit a04d13af authored by Jan Rybar's avatar Jan Rybar
Browse files

GHSL-2021-074: authentication bypass vulnerability in polkit

initial values returned if error caught
parent cd18b017
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment