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
the length is a bit overoptimistic; as at that point up to length has already been used by the topic; while plength is either capped by buffSize; e.g. here:
After fighting with some odd topic-corruption (in a const char* no less) -- I think that the calculation in this line:
pubsubclient/src/PubSubClient.cpp
Line 460 in 2d228f2
pubsubclient/src/PubSubClient.cpp
Line 437 in 2d228f2
pubsubclient/src/PubSubClient.cpp
Line 448 in 2d228f2
So it should perhaps read i < plength && length < buffSize
The text was updated successfully, but these errors were encountered: