aboutsummaryrefslogtreecommitdiff
path: root/src/mm-broadband-modem-qmi.c
diff options
context:
space:
mode:
authorCarlo Lobrano <c.lobrano@gmail.com>2022-06-08 15:34:49 +0200
committerAleksander Morgado <aleksander@aleksander.es>2022-06-09 08:50:29 +0000
commit19a0ea6cf9dbfb5dd0d2da2afdfbfdde49dc758c (patch)
tree1df50388d76b7bae85192ccf192a3c6b3f6efd6e /src/mm-broadband-modem-qmi.c
parent3da84c207902b65b7b6a2de9c497966844f87dd9 (diff)
plugins,telit: do not crash if revision is not set
In mm_telit_model_from_revision there is nothing that prevents to use the input revision string if it is NULL, which currently happens if the modem is pure MBIM (i.e. LE910-V2 pid:0x0032). Fix the above error returning a default safe value and not using the NULL variable.
Diffstat (limited to 'src/mm-broadband-modem-qmi.c')
0 files changed, 0 insertions, 0 deletions