maxime-esa / asn1scc

ASN1SCC: An open source ASN.1 compiler for embedded systems

Home Page:https://www.thanassis.space/asn1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XER Octet String Decoding limited to 511 bytes

tkillian7 opened this issue · comments

The following line of code limits the maximum size of an OCTET STRING to 511 bytes (1022 hex characters + null).

char tmp[1024];

It would be nice if the hex characters did not need to be copied from one array to another, so the size of the octet string would not be limited in size.

Hi @tkillian7. Thank you for the report.

Could you perhaps provide a fix for this issue (in a pull request) ?