Main Content
CWE Rule 243
Description
Rule Description
The program uses the chroot() system call to create a jail, but does not change the working directory afterward. This does not prevent access to files outside of the jail.
Polyspace Implementation
The rule checker checks for File manipulation after chroot() without chdir("/").
Examples
Check Information
Category: Privilege Issues |
Version History
Introduced in R2023a