Skip to content

Commit

Permalink
Merge pull request vshymanskyy#555 from UCIS/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect memory access in Sequans Monarch code
  • Loading branch information
SRGDamia1 authored Jul 6, 2021
2 parents a5a2ce3 + a092bfa commit a57014d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyGsmClientSequansMonarch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a57014d

Please sign in to comment.