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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/TinyGsmClientSequansMonarch.h
|
@ -98,7 +98,7 @@ class TinyGsmSequansMonarch |
|
|
} else { |
|
|
} else { |
|
|
this->mux = (mux % TINY_GSM_MUX_COUNT) + 1; |
|
|
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; |
|
|
return true; |
|
|
} |
|
|
} |
|
|