You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need Help!!
Uper decoder returns an error when attempting to decode more than 4000bytes using uper.
Does the uper code have a length limit? OR Asn1c does not decode long codes?
(gdb) bt
#0 uper_decode (opt_codec_ctx=0x0, td=0x68bce0 <asn_DEF_MessageFrame>, sptr=0x7fffffffde30, buffer=0x6ab200, size=5020,
skip_bits=0, unused_bits=0) at per_decoder.c:66 #1 0x000000000043dcef in uper_decode_complete (opt_codec_ctx=0x0, td=0x68bce0 <asn_DEF_MessageFrame>, sptr=0x7fffffffde30,
buffer=0x6ab200, size=5020) at per_decoder.c:17 #2 0x0000000000403e34 in asn_decode (opt_codec_ctx=0x0, syntax=ATS_UNALIGNED_BASIC_PER, td=0x68bce0 <asn_DEF_MessageFrame>,
sptr=0x7fffffffde30, buffer=0x6ab200, size=5020) at asn_application.c:432 #3 0x000000000044974e in main () at test_decode.c:78
The text was updated successfully, but these errors were encountered:
Aaaazibi
changed the title
large file uper_decoder return RC_FAIL!!!!!! How to correct uper decode large files?
large msg uper_decoder return RC_FAIL!!!!!! How to correct uper decode large msg?
Jan 14, 2022
if(rv.consumed == 0 && nelems > 200)
/* Protect from SET OF NULL compression bombs. */
``
This limits the size to 200. If your list is larger than 200, you need to change it, but it's not sure if it will have any other effects.
Need Help!!
Uper decoder returns an error when attempting to decode more than 4000bytes using uper.
Does the uper code have a length limit? OR Asn1c does not decode long codes?
(gdb) bt
#0 uper_decode (opt_codec_ctx=0x0, td=0x68bce0 <asn_DEF_MessageFrame>, sptr=0x7fffffffde30, buffer=0x6ab200, size=5020,
skip_bits=0, unused_bits=0) at per_decoder.c:66
#1 0x000000000043dcef in uper_decode_complete (opt_codec_ctx=0x0, td=0x68bce0 <asn_DEF_MessageFrame>, sptr=0x7fffffffde30,
buffer=0x6ab200, size=5020) at per_decoder.c:17
#2 0x0000000000403e34 in asn_decode (opt_codec_ctx=0x0, syntax=ATS_UNALIGNED_BASIC_PER, td=0x68bce0 <asn_DEF_MessageFrame>,
sptr=0x7fffffffde30, buffer=0x6ab200, size=5020) at asn_application.c:432
#3 0x000000000044974e in main () at test_decode.c:78
The text was updated successfully, but these errors were encountered: