diff options
author | Reinhard Speyerer <rspmn@arcor.de> | 2019-08-19 16:31:23 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2019-08-23 16:49:57 -0500 |
commit | f2c878e79661af660d5a5c9e2a820a2b682ef39e (patch) | |
tree | 5ab3bfcc45728844f7523ab29cb4de0c31ab8b44 /cli/mmcli-output.h | |
parent | e78ef2a67f8296f252e59fb042d27288763d5b4b (diff) |
mm-modem-helpers-qmi: avoid SIGSEGV with mmcli --set-current-bands
For devices which do not provide feature_extended_lte_band_preference
mm_modem_bands_to_qmi_band_preference() gets called from
mm_shared_qmi_set_current_bands() with extended_qmi_lte_bands
set to NULL which may cause a SIGSEGV in the memset() call in
mm_modem_bands_to_qmi_band_preference().
Avoid this by checking whether extended_qmi_lte_bands is non-NULL
before calling memset().
Reported-by: Nick <mips171@icloud.com>
Diffstat (limited to 'cli/mmcli-output.h')
0 files changed, 0 insertions, 0 deletions