Skip to main content
Glama
memset-delete.cpp440 B
void f(char *password, size_t bufferSize) { char localToken[256]; init(localToken, password); memset(password, ' ', strlen(password)); // Noncompliant, password is about to be freed memset(localToken, ' ', strlen(localToken)); // Noncompliant, localToken is about to go out of scope free(password); } // OWASP Top 10 2017 Category A3 - Sensitive Data Exposure // MITRE, CWE-14 - Compiler Removal of Code to Clear Buffers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michoo/security_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server