diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2021-10-23 10:57:26 +0200 |
---|---|---|
committer | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2021-10-23 10:58:15 +0200 |
commit | 2ae5f3cc27425a2b53872bb7c783aa032ac6aa6b (patch) | |
tree | 122b556bdc702e99f0ea5d203fac83eca2d28959 /src/mm-error-helpers.c | |
parent | c487ca1b36dd1aa14cb45e4555fbf3235b7ca784 (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 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions