Commit 79cce59a authored by Howard Chu's avatar Howard Chu
Browse files

Fix insecure chroot (coverity)

parent 9710c2b1
......@@ -757,6 +757,11 @@ unhandled_option:;
rc = 1;
goto stop;
}
if ( chdir( "/" ) ) {
perror("chdir");
rc = 1;
goto stop;
}
}
#endif
......
Supports Markdown
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