mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix insecure chroot (coverity)
This commit is contained in:
parent
9710c2b17b
commit
79cce59ad4
@ -757,6 +757,11 @@ unhandled_option:;
|
||||
rc = 1;
|
||||
goto stop;
|
||||
}
|
||||
if ( chdir( "/" ) ) {
|
||||
perror("chdir");
|
||||
rc = 1;
|
||||
goto stop;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user