aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_gm.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-20 17:22:58 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-20 17:55:28 +0200
commit902531bd817b46a80d78ee036f0f447d6f080467 (patch)
treec914c4886ddbbf16b03701a2692c46063fcc747b /epan/dissectors/packet-gsm_a_gm.c
parent23289dc2f71a99adcde84c199e596e7a7ed2caab (diff)
csn1: Avoid storing existence bit as true if content was actually NULLpespin/csn1
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. This patch is a port from patch fixing same issue in the osmo-pcu.git copy of csn1 decoder: https://git.osmocom.org/osmo-pcu/commit/?id=1859ec38cc4f4e3788e495a100fdec3787d25020 And fixup patch for that one: https://git.osmocom.org/osmo-pcu/commit/?id=9ecdc11eb6b983748ae2fd6a1d07849c8106826f
Diffstat (limited to 'epan/dissectors/packet-gsm_a_gm.c')
0 files changed, 0 insertions, 0 deletions