Skip to content

Commit

Permalink
dnf5daemon: Remove reposdir from allowed config overrides
Browse files Browse the repository at this point in the history
The option is potentially dangerous and can cause dnf5daemon-server to
block on malicious reposdir.
  • Loading branch information
m-blaha authored and jan-kolarik committed Apr 3, 2024
1 parent 0343b01 commit 07c5770
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dnf5daemon-server/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ static const std::unordered_set<std::string> ALLOWED_MAIN_CONF_OVERRIDES = {
"obsoletes",
"optional_metadata_types",
"protect_running_kernel",
"reposdir",
"skip_broken",
"skip_if_unavailable",
"skip_unavailable",
Expand Down

0 comments on commit 07c5770

Please sign in to comment.