diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-04-04 10:13:06 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-04-04 10:13:06 +0200 |
commit | 19f389949c2e15eb52a27d7b6236ef8a9ab76e97 (patch) | |
tree | c17381fa15928e1a23b4836c020ed3a43ad17d05 /src/mm-iface-modem-3gpp-profile-manager.c | |
parent | 210fa8bf354f5455a4e75dadbf69e72940b19d70 (diff) |
port-serial: ensure the port object is valid after BUFFER_FULL handling
The BUFFER_FULL signal handler is effectively working in the same way
as the response buffer processor, in both cases we may have scheduled
the completion of the serial command, and that in turn may end up
fully disposing the port object. We must make sure the port object is
valid for as long as we need it in this function, so we take a
reference while processing the response buffer.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/535
Diffstat (limited to 'src/mm-iface-modem-3gpp-profile-manager.c')
0 files changed, 0 insertions, 0 deletions