aboutsummaryrefslogtreecommitdiffstats
path: root/src/UTCTime.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-05-01 01:02:17 +0200
committerHarald Welte <laforge@gnumonks.org>2016-05-01 01:05:34 +0200
commit20d668cbd3c14ef32fcbd09617fbd3c8e6856ec0 (patch)
tree955df31445eba593ed4fbab7041118265fe04279 /src/UTCTime.c
parentc867ddeb3027b3d84f2df73ebd44f9fe9fad7184 (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 'src/UTCTime.c')
0 files changed, 0 insertions, 0 deletions