We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all, I noticed a possible memory leak in MD5 Builder addStream member function.
addStream
Arduino/cores/esp8266/MD5Builder.cpp
Line 58 in eea9999
As you can see, if the readBytes fails, the function returns without freeing the allocated buffer.
readBytes
The text was updated successfully, but these errors were encountered:
@lrodorigo Looks like a potential leak to me! Want to do a PR for it and add the free before the return false?
free
return false
Sorry, something went wrong.
Fix for MD5 leak bug, issue esp8266#7195
47cc628
Fix for MD5 leak bug, issue #7195 (#7197)
41d271d
Co-authored-by: Luiss <luiss@mind.cc> Co-authored-by: david gauchard <gauchard@laas.fr> Co-authored-by: Develo <deveyes@gmail.com> Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
Successfully merging a pull request may close this issue.
Hi all,
I noticed a possible memory leak in MD5 Builder
addStream
member function.Arduino/cores/esp8266/MD5Builder.cpp
Line 58 in eea9999
As you can see, if the
readBytes
fails, the function returns without freeing the allocated buffer.The text was updated successfully, but these errors were encountered: