CWE-785: Use of Path Manipulation Function without Maximum-sized Buffer
Filter
The product invokes a function for normalizing paths or file names, but it provides an output buffer that is smaller than the maximum possible size, such as PATH_MAX.
What the weakness is: CWE-785 at MITRE. All weaknesses
Ask an AI about CWE-785
Show the prompt
Explain CWE-785: Use of Path Manipulation Function without Maximum-sized Buffer and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/785.html and https://cve.bz/cve/cwe/785?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.