diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-05-01 01:02:17 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-05-01 01:05:34 +0200 |
commit | 20d668cbd3c14ef32fcbd09617fbd3c8e6856ec0 (patch) | |
tree | 955df31445eba593ed4fbab7041118265fe04279 /include/asn1c/BOOLEAN.h | |
parent | c867ddeb3027b3d84f2df73ebd44f9fe9fad7184 (diff) |
aper fix for decoding constrained integer with lower boundary3G_2016_09
When decoding a constrained integer with a lower boundary, we need
to make sure the lower bound is added after decoding the raw offset
inside the range.
Before this change, RANAP_CauseMisc_unspecified_failure (115) would be
encoded as 2 (115 - 113 = 2), but would be decoded as 2, rather than
113+2 = 115.
Code for this was taken from
openairinterface5g/openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0 which
unfortunately doesn't carry much of a revision history :/
Diffstat (limited to 'include/asn1c/BOOLEAN.h')
0 files changed, 0 insertions, 0 deletions