I believe the fix is to change lines 89 and 242 to read:
if ((bytes_to_read > 0) && (bytes_to_read <= len)) { // Versus bytes_to_read < len
if ((bytes_to_read > 0) && (bytes_to_read <= (uint32_t)n_read)) { // Likewise
John Tiller
I believe the fix is to change lines 89 and 242 to read:
if ((bytes_to_read > 0) && (bytes_to_read <= len)) { // Versus bytes_to_read < len
if ((bytes_to_read > 0) && (bytes_to_read <= (uint32_t)n_read)) { // Likewise
John Tiller