Strings and Buffer Overflows

I wasn’t paying attention and I knew better, but I had a buffer overflow in some updates to my UNO receiver.

After research it a bit, I came across a thread saying not to use Strings because of memory leakage.  I am not denying it, but not sure what else to use.  A large enough payload can crash the system.

If this is exposed on the Internet it can squash the UNO.

Maybe the broker can limit the payload size.

On a side note, I did work out today in the gym

Felt good.  Day ended early.

 

This entry was posted in Training. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.