Merge pull request #555 from UCIS/patch-1
Fix incorrect memory access in Sequans Monarch code
This commit is contained in:
@@ -98,7 +98,7 @@ class TinyGsmSequansMonarch
|
||||
} else {
|
||||
this->mux = (mux % TINY_GSM_MUX_COUNT) + 1;
|
||||
}
|
||||
at->sockets[mux % TINY_GSM_MUX_COUNT] = this;
|
||||
at->sockets[this->mux % TINY_GSM_MUX_COUNT] = this;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user