Skip to content

Fix possible seg fault in previous patch

Christophe Ronco ofono 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyApplied
  2. v11 patch 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1huawei: reopen modem channel if it disconnectsplugins/huawei.c+50 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Fix possible seg fault in previous patch

A segmentation fault is possible with my previous patch.
It occurs if modem is removed. In this case, modem_disconnect is called after huawei_remove.
ofono_modem_get_data(modem) will return NULL in this case.

Christophe Ronco (1):
huawei: reopen modem channel if it disconnects

 plugins/huawei.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 50 insertions(+), 7 deletions(-)
Signature · 1 line
2.11.0