You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adafruit_MQTT::publishPacket: Protect against memory corruption.
Avoid memory corruption from happening when data payload provided
in Adafruit_MQTT::publishPacket is greater than MAXBUFFERSIZE.
In order to do that, a helper function is being added to calculate
how much space is available for the payload after subtracting what
is used as the header.
Pull request #166Fixes#109Fixes#122
Signed-off-by: Flavio Fernandes <flavio@flaviof.com>
0 commit comments