Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

udp: limit buffer depth #6895

Merged
merged 2 commits into from
Dec 10, 2019
Merged

udp: limit buffer depth #6895

merged 2 commits into from
Dec 10, 2019

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Dec 10, 2019

This commit avoids OOMs on an udp corner case where a delay() in the main
loop would allow memory filling.

A memory leak has been observed with such semantically forbidden delay,
unsolved yet, and preventing to use a simple counter instead of walking
through a linked list. The count limit is however small.

fixes #6831

This commit avoids OOMs on an udp corner case where a delay() in the main
loop would allow memory filling.

A memory leak has been observed with such semantically forbidden delay,
unsolved yet, and preventing to use a simple counter instead of walking
through a linked list.  The count limit is however small.
@d-a-v d-a-v added this to the 2.7.0 milestone Dec 10, 2019
@devyte devyte modified the milestones: 2.7.0, 2.6.3 Dec 10, 2019
@d-a-v d-a-v merged commit 3e6c25c into esp8266:master Dec 10, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UDP Crash with versions above 2.5.2
2 participants