electricui / electricui-embedded

Add communications functionality to connect your hardware to a local user interface.
https://electricui.com
MIT License
64 stars 5 forks source link

Investigate inbound writes with malformed lengths with respect to actual data size #165

Closed Scottapotamas closed 4 years ago

Scottapotamas commented 5 years ago

UI correctly sends a incorrectly encoded message. Micro decodes it into the buffer, and decides to write it over the local variable.

We know the data isn't formed correctly, so check the following edges are safe: