We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61791cf commit 4d4f39cCopy full SHA for 4d4f39c
libraries/WiFiS3/src/WiFiSSLClient.cpp
@@ -132,7 +132,7 @@ int WiFiSSLClient::available(){
132
int WiFiSSLClient::_read() {
133
/* -------------------------------------------------------------------------- */
134
int rv = -1;
135
- if(_sock >= 0) {
+ if(_sock >= 0 && rx_buffer != nullptr) {
136
string res = "";
137
uint32_t size = rx_buffer->freePositions() - 1;
138
modem.begin();
0 commit comments