Skip to content
Snippets Groups Projects
Commit 14689f14 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

Fix insecure chroot (coverity)

parent 17b883c6
No related branches found
No related tags found
No related merge requests found
......@@ -756,6 +756,11 @@ unhandled_option:;
rc = 1;
goto stop;
}
if ( chdir( "/" ) ) {
perror("chdir");
rc = 1;
goto stop;
}
}
#endif
......
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