Skip to content
Snippets Groups Projects
Commit bbac9ca9 authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Conf: Make 'configure check' command restricted

While it does not directly change BIRD state, it can trigger reading
arbitrary files and eating significant memory.
parent 371eb490
No related branches found
No related tags found
No related merge requests found
Pipeline #106286 passed with warnings
......@@ -282,6 +282,9 @@ cmd_read_config(const char *name)
void
cmd_check_config(const char *name)
{
if (cli_access_restricted())
return;
struct config *conf = cmd_read_config(name);
if (!conf)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment