gitlab.flawfinder.strccpy-1.strcadd-1
137
Download Count*
License
Ensure that destination buffer is sufficiently large.
Run Locally
Run in CI
Defintion
rules:
- id: flawfinder.strccpy-1.strcadd-1
languages:
- c
message: |
Ensure that destination buffer is sufficiently large.
metadata:
cwe: "CWE-120: Subject to buffer overflow if buffer is not as big as claimed
(CWE-120)"
primary_identifier: flawfinder.strccpy-1.strcadd-1
secondary_identifiers:
- name: Flawfinder - strccpy
type: flawfinder_func_name
value: strccpy
- name: Flawfinder - strcadd
type: flawfinder_func_name
value: strcadd
license: MIT
pattern-either:
- pattern: strccpy(...)
- pattern: strcadd(...)
severity: INFO
Short Link: https://sg.run/RP9E