Hi, at the time of decoding some sequence (the function "dissect_per_sequence" is called), we are getting the error: "too long integer(per_normally_small_nonnegative_whole_number)". The IEs with "ASN1_EXTENSION_ROOT,ASN1_OPTIONAL and ASN1_NOT_OPTIONAL" are dissecting properly. after those dissection the error is coming. The sequence has extension marker (the ellipses or ...) in PROP_IEs.asn file. the dissection of IEs before (ellipses or ...) is fine. after that Malformed packet with "too long integer(per_normally_small_nonnegative_whole_number)" is shown. snapshot of PROP_IEs.asn:
snapshot of packet-s1ap.c
So my question is regarding dissection of IEs/Components after extension marker (Ellipses or ...). How dissection happens? how to calculate number of extensions? why this error is coming? Any help specially from developer are welcome. asked 06 Apr '17, 03:05 Abhisek edited 06 Apr '17, 03:22 grahamb ♦ |
According to my understanding of packet-per.c, the dissect_per_sequence function dissected in two stage. Stage 1: components before extension marker.
Upto this part is fine. the dissection is fine with respect to sequence. Stage 2:Components after extension marker.
I don't know dissection part after that. Is any developer there, who can help me out.