-
Notifications
You must be signed in to change notification settings - Fork 5k
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] double free issue #9397
Comments
Hi I'd like to work on this but I don't think there's a double free issue. It seems like the |
Yes, you are right. |
为什么提交这份PR (why to submit this PR) #9397 你的解决方案是什么 (what is your solution) 将 line 758的dir改为link_dir
fixed in #9464 |
为什么提交这份PR (why to submit this PR) RT-Thread#9397 你的解决方案是什么 (what is your solution) 将 line 758的dir改为link_dir
RT-Thread Version
1cc0fb8
Hardware Type/Architectures
stm32
Develop Toolchain
GCC
Describe the bug
As in the screenshot, in step 38, call closedir(dir) and free the memory; And then in step 39, call closeddir(dir) and free memory again., which caused double free issue.
Other additional context
No response
The text was updated successfully, but these errors were encountered: