Skip to content

Conversation

paulocsanz
Copy link
Contributor

@paulocsanz paulocsanz commented Jan 12, 2021

Fixes #7821.

This does not report the OOM to the user. But it already prevents UB from Netdump::tcpDumpProcess.

@paulocsanz
Copy link
Contributor Author

paulocsanz commented Jan 12, 2021

I think I've found a better way. Just need to squash the commits before merge.

Is this ok to merge? Or maybe using new ... that throws is better?

Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx.

@d-a-v d-a-v merged commit 07241dd into esp8266:master Jan 12, 2021
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

Successfully merging this pull request may close these issues.

Possible UB on OOM
3 participants