gitlab.flawfinder.strtrns-1

137
Download Count*
License

Ensure that destination is at least as long as the source.

Run Locally

Run in CI

Defintion

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