Bitstrings don't clear unused bits after JSON decoding
Submitted by Botond Baranyi
Link to original bug (#560937)
Description
Created attachment 282059 Example project
See attached project to reproduce.
According to Gabor Szalai, the bitstrings in the PDU do not clear their usused bits after the JSON decoding. Logging them produces correct results, but encoding them with RAW causes incorrect results. The operator '==' seemingly clears unused bits, and RAW encoding is successful afterwards.
The same may be true for hexstrings.
Attachment 282059, "Example project":
NAS_5GS_v15.5.0_2_CNL113879-200309-1134.tgz
Version: 6.6.1