Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow analysis error - returning local address #210

Open
thradams opened this issue Nov 19, 2024 · 0 comments
Open

flow analysis error - returning local address #210

thradams opened this issue Nov 19, 2024 · 0 comments

Comments

@thradams
Copy link
Owner

thradams commented Nov 19, 2024

TODO test case to avoid more regressions.

#pragma safety enable

const char * get()
{
   char buffer[100] = {0};
   return buffer; /*returning a local address*/
}
@thradams thradams changed the title regression flow analysis flow analysis error - returning local address Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant