aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-simple.c
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@sigfox.com>2021-10-23 10:57:26 +0200
committerFrederic Martinsons <frederic.martinsons@sigfox.com>2021-10-23 10:58:15 +0200
commit2ae5f3cc27425a2b53872bb7c783aa032ac6aa6b (patch)
tree122b556bdc702e99f0ea5d203fac83eca2d28959 /cli/mmcli-modem-simple.c
parentc487ca1b36dd1aa14cb45e4555fbf3235b7ca784 (diff)
iface-modem-firmware: Initialize context to null
Without setting memory to NULL it is possible that ctx->list point to an unitialized pointer and trig a segfault when we free it (for example when the firmware list is not supported) Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Diffstat (limited to 'cli/mmcli-modem-simple.c')
0 files changed, 0 insertions, 0 deletions