diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-19 17:39:03 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-20 15:36:01 +0200 |
commit | 1859ec38cc4f4e3788e495a100fdec3787d25020 (patch) | |
tree | 6b694fe2bba1c9be2a005b0c76ce443de250e46e /src/csn1.h | |
parent | ebdc0d8c170ee2dbf23b19056d6c2d0ef316b3c2 (diff) |
csn1: Avoid storing existence bit as true if content was actually NULL
If we decode Exist bit as "1" but we are at the end of the message, and
all the Next items we'd read are expected to be possibly NULL, then swap
the Exist bit in the decoded structure as "0" in order to tell the
decoder user that the related information structure is actually unset,
as if "0" was received.
Related: SYS#5552
Related: OS#4955
Related: OS#5020
Change-Id: I38602e4b680ed87297c7e440691a494c07cad446
Diffstat (limited to 'src/csn1.h')
0 files changed, 0 insertions, 0 deletions