diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-07-01 16:11:09 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-07-01 23:33:16 +0200 |
commit | 5b36d13ba54b0e78414f1352bac28466dfe74c27 (patch) | |
tree | b608f17095a79336442b3c3a466f4e9c602f4d76 /AUTHORS | |
parent | b697274daabed2bf7454cc05d3e3689e91665e36 (diff) |
sgs_tx_loc_upd_resp_cb(): fix error handling for MI encoding
new_id_ptr should be passed as NULL if encoding the TMSI failed, so initialize
it accordingly.
Also add some bloat to better handle the case of an encoding error, even though
from code analysis that should not be possible here: there is enough buffer,
the MI is a TMSI encoded from a uint32_t...
The problem was introduced by Idfc8e576e10756aeaacf5569f6178068313eb7ea, before
which new_id_len was always 0 when no TMSI was present.
Related: CID#210894
Change-Id: I800c5dca3fdbdedf70a64d9fd5a1bdfd1397f431
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions