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
This library crashes on Galileo when you call skipResponseHeaders() or readHeader(). The issue is that readHeader() is doing this:
if (*iContentLengthPtr == c)
But this pointer gets initialized to 0 instead of kContentLengthPrefix in resetState(), so you are doing a check on a NULL pointer. On a true Arduino device this may not crash, but I bet it doesn't work like it's intended.
The fix is to initialize iContentLengthPtr correctly in resetState():
iContentLengthPtr= kContentLengthPrefix;
The text was updated successfully, but these errors were encountered:
This library crashes on Galileo when you call skipResponseHeaders() or readHeader(). The issue is that readHeader() is doing this:
if (*iContentLengthPtr == c)
But this pointer gets initialized to 0 instead of kContentLengthPrefix in resetState(), so you are doing a check on a NULL pointer. On a true Arduino device this may not crash, but I bet it doesn't work like it's intended.
The fix is to initialize iContentLengthPtr correctly in resetState():
iContentLengthPtr= kContentLengthPrefix;
The text was updated successfully, but these errors were encountered: