Skip to content

Conversation

@willmmiles
Copy link
Contributor

If the translated ESP8266 DMA buffer fit the source data size exactly, an extra write was being performed past the end of the buffer. This would typically overwrite the "block size" of the next allocation (or free area), resulting in heap corruption.

This patch ensures that the "end of loop" write is only performed if there's something to write.

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.

1 participant