diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-20 11:58:55 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:07:26 +0200 |
commit | d065dd572b3abb5e76467abe1140bf2010fe6fbb (patch) | |
tree | 28212617eff6c512deddb6627c6261c5d0b5e7cb /docs/reference/api/ModemManager-interface-initialization-sequence.dia | |
parent | e18778d815ffda24ac0f9a7b17dab3fdd22a575e (diff) |
icera: avoid trying to use an already freed context
In both the connection and disconnection sequences, we keep the context in the
private info of the Bearer object, so that we can complete and free it when we
receive %IPDPACT unsolicited messages. Now, the reply of the %IPDPACT itself may
get processed as an unsolicited message, so effectively we're processing and
finishing the connection/disconnection context *before* we process the reply of
the AT command.
This patch ensures that we do not try to re-use the connection/disconnection
context after it has been processed by the unsolicited messages handler.
Diffstat (limited to 'docs/reference/api/ModemManager-interface-initialization-sequence.dia')
0 files changed, 0 insertions, 0 deletions