Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
polkit
polkit
Commits
a04d13af
Commit
a04d13af
authored
Jun 02, 2021
by
Jan Rybar
Browse files
GHSL-2021-074: authentication bypass vulnerability in polkit
initial values returned if error caught
parent
cd18b017
Pipeline
#331740
passed with stage
in 3 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/polkit/polkitsystembusname.c
View file @
a04d13af
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment