gitlab.flawfinder.strncat-1

137
Download Count*
License

Consider strcat_s, strlcat, snprintf, or automatically resizing strings.

Run Locally

Run in CI

Defintion

rules:
  - id: flawfinder.strncat-1
    languages:
      - c
    message: |
      Consider strcat_s, strlcat, snprintf, or automatically resizing strings.
    metadata:
      cwe: "CWE-120: Easily used incorrectly (e.g., incorrectly computing the correct
        maximum size to add) [MS-banned] (CWE-120)"
      primary_identifier: flawfinder.strncat-1
      secondary_identifiers:
        - name: Flawfinder - strncat
          type: flawfinder_func_name
          value: strncat
      license: MIT
    pattern: strncat(...)
    severity: INFO