CWE-1052 — Excessive Use of Hard-Coded Literals in Initialization
CWE-1052: Excessive Use of Hard-Coded Literals in Initialization
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Incomplete |
| Likelihood of exploit | — |
Description
The product initializes a data element using a hard-coded literal that is not a simple integer or static constant element.
Common consequences
- Other: Reduce Maintainability
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/1052.html
- CWE list: https://cwe.mitre.org/data/index.html