aboutsummaryrefslogtreecommitdiffstats
path: root/xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-03-06 14:28:31 +0100
committerBjörn Gustavsson <[email protected]>2017-03-14 09:47:40 +0100
commit3334c0c7b831ecf47738c713fd764eef891a298a (patch)
treebae651bf04cb7a5dead1a87bc8b6f896c4a23705 /xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf
parent7cb3d41d40dbe6d72c8d3f5724b62da088dbf189 (diff)
downloadotp-3334c0c7b831ecf47738c713fd764eef891a298a.tar.gz
otp-3334c0c7b831ecf47738c713fd764eef891a298a.tar.bz2
otp-3334c0c7b831ecf47738c713fd764eef891a298a.zip
asn1_erl_nif.c: Correct handling of tags >= 16384
Tags number above 16383 were not decoded correctly in ber_decode_tag(). We could fix the problem, but there does not seem to be any need. First, the only way that high tag numbers can be created is with manual tagging; after 1994 manual tagging is no longer recommended. Second, the ASN.1 playground (http://asn1-playground.oss.com) only supports tags up to 16383 (the same is presumably true for OSS Nokalva's other tools). Therefore, clean up the existing code and make it an explicit 'invalid_tag' error when tags above 13383 are encountered (instead of an implicit 'wrong_tag' error).
Diffstat (limited to 'xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf')
0 files changed, 0 insertions, 0 deletions