asn1c icon indicating copy to clipboard operation
asn1c copied to clipboard

[BER file with "0x00" filler inside] not able to unber correctly

Open igbayilola opened this issue 5 years ago • 0 comments

Hi everyone, Using the v0.9.29, I am not able to unber correctly a ber file. I get the following error:

`<P O="16373" T="[UNIVERSAL 0]" TL="2" V="0"></P>

CCNCDR.ber: Fatal error decoding value length at 16393 `

I was searching for identical issue and I found this. Following it, I also find that there is a lot of "0000 0000" in between, kind of a void filling. But counter to that case, my file doesn’t fit to any known pattern. Then, I have two questions:

  • how to prevent the decoder to take those bytes into consideration?
  • Or how to clean the file?

Thanks,

igbayilola avatar Feb 17 '20 09:02 igbayilola