Ensure that destination is at least as long as the source.
Run in CI
rules: - id: flawfinder.strtrns-1 languages: - c message: | Ensure that destination is at least as long as the source. metadata: cwe: "CWE-120: This function does not protect against buffer overflows (CWE-120)" primary_identifier: flawfinder.strtrns-1 secondary_identifiers: - name: Flawfinder - strtrns type: flawfinder_func_name value: strtrns license: MIT pattern: strtrns(...) severity: WARNING
Short Link: https://sg.run/qq11