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

[bug] A UAF bug in src/storage/datastorage.c #214

Open
ShangzhiXu opened this issue Apr 3, 2023 · 0 comments
Open

[bug] A UAF bug in src/storage/datastorage.c #214

ShangzhiXu opened this issue Apr 3, 2023 · 0 comments

Comments

@ShangzhiXu
Copy link

In this file from line 1337-1341, it looks like this

    {
        free(line);
        dawn_unregmem(line);
    }

after free the line, in dawn_unregmem(line), the line will be used again, I'm wondering if it will lead to UAF

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