gitlab.flawfinder.getopt-1.getopt_long-1
137
Download Count*
License
Check implementation on installation, or limit the size of all string inputs.
Run Locally
Run in CI
Defintion
rules:
- id: flawfinder.getopt-1.getopt_long-1
languages:
- c
message: >
Check implementation on installation, or limit the size of all string
inputs.
metadata:
cwe: "CWE-120: Some older implementations do not protect against internal buffer
overflows (CWE-120, CWE-20)"
primary_identifier: flawfinder.getopt-1.getopt_long-1
secondary_identifiers:
- name: Flawfinder - getopt
type: flawfinder_func_name
value: getopt
- name: Flawfinder - getopt_long
type: flawfinder_func_name
value: getopt_long
license: MIT
pattern-either:
- pattern: getopt(...)
- pattern: getopt_long(...)
severity: WARNING
Short Link: https://sg.run/nk2G