Bugzilla – Bug 2754
Incorrect arguments are passed Asn1Header::SerializeInteger
Last modified: 2018-02-21 10:36:31 EST
Created attachment 2870 [details]
Patch that adds assertion
Adding assert (nmin <= n && n <= nmax) to Asn1Header::SerializeInteger causes a lot of tests and examples, maybe even all of them which use LteRrcProtocolReal, to crash.
Created attachment 2871 [details]
Fix some related bugs
Here is a patch that fixes some of the bugs but crashes still remain.
lte-mimo crashes because m_rrcTransactionIdentifier is 4, for example
Created attachment 3055 [details]
Patch for ASN.1 encoding of RRC messages
Following patch solves all ASN.1 encoding problems.
It also includes the ASSERT and partial patch by Alexander.
patch commit in changeset: 13300:9c62f5c32658