Using realloc() to resize buffers that store sensitive information can leave the sensitive information exposed to attack, because it is not removed from memory.
Our security experts can help you identify and remediate CWE-244 vulnerabilities in your codebase.
Get Security Assessment