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

MD5 Builder: Rework for unqiue_ptr instead of malloc for internal dynamic buffers. #7208

Merged
merged 2 commits into from
Apr 11, 2020

Conversation

lrodorigo
Copy link
Contributor

In order to guarantee exception-safety I used unique_ptr to uint8_t[], with std::nothrow decorator.
I cannot mark the functions as no-except because I don't know if the called functions (especially the Stream implementations) are no-except.

I also fixed the const-correctness of const member functions, such as toString() and getters.

I executed the host tests, I still need to run tests on the ESP8266, but this is the first time that I contribute with you, so I have to study how to setup and run your tests suite on my device.

@devyte devyte merged commit e1789dd into esp8266:master Apr 11, 2020
@devyte devyte added this to the 2.7.0 milestone Apr 11, 2020
@earlephilhower
Copy link
Collaborator

Thanks, @lrodorigo !

@lrodorigo
Copy link
Contributor Author

@earlephilhower I'm so happy to cooperate with you, in this important project. If you think that I'm appropriate, please let me know if I can cooperate with you in a more stable way and what I can do now.

Regards

@devyte
Copy link
Collaborator

devyte commented Apr 12, 2020

@lrodorigo if you would like to help move the core forward, please msg me in our gitter channel gitter.im/esp8266/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants