Browse Source

Merge pull request #555 from UCIS/patch-1

Fix incorrect memory access in Sequans Monarch code
dependabot/github_actions/actions/checkout-4
Sara Damiano 3 years ago
committed by GitHub
parent
commit
a57014d0e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientSequansMonarch.h

+ 1
- 1
src/TinyGsmClientSequansMonarch.h View File

@ -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;
}


Loading…
Cancel
Save