CWE-1052: Excessive Use of Hard-Coded Literals in Initialization
Filter
The product initializes a data element using a hard-coded literal that is not a simple integer or static constant element.
What the weakness is: CWE-1052 at MITRE. All weaknesses
Ask an AI about CWE-1052
Show the prompt
Explain CWE-1052: Excessive Use of Hard-Coded Literals in Initialization and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1052.html and https://cve.bz/cve/cwe/1052?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
No records match.