Listed below are the check results from Flawfinder.
Line | Library | Message | |
---|---|---|---|
./src/PPP/Utilities.cpp | |||
123 | [2] (buffer) char | Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. | |
14 | [4] (shell) system | This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. | |
./src/PropertyContainer/Property.h | |||
177 | [4] (race) access | This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. | |
./src/PPP/SparseMatrix.h | |||
134 | [3] (random) random | This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. | |
182 | [2] (misc) fopen | Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). | |
219 | [2] (misc) fopen | Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). | |
./src/PPP/SparseMatrix.cpp | |||
14 | [2] (misc) fopen | Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). | |
51 | [2] (misc) fopen | Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). | |
./src/PPP/UniqueId.h | |||
35 | [2] (buffer) char | Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. | |
./src/Geom/GeometryReader.h | |||
165 | [1] (buffer) read | Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). | |
83 | [1] (buffer) read | Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). | |
93 | [1] (buffer) read | Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). |