Commit 5c2a208c authored by Mouse's avatar Mouse

Minor cleanup.

Also, for the record. The following commits from vlm/asn1c PR #115 were
already suggested and merged here in the past:
- work in 128-bit integer values while compiling f49ee68bcb
- aper: use correct function for APER decoder    0abceb4382fee19c4
- aper: fix invalid read                         d158c573fb762857a
parent 2ca78d9a
...@@ -282,7 +282,7 @@ NativeEnumerated_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, ...@@ -282,7 +282,7 @@ NativeEnumerated_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
/* /*
* X.691, #10.6: normally small non-negative whole number; * X.691, #10.6: normally small non-negative whole number;
*/ */
//value = uper_get_nsnnwn(pd);
/* XXX handle indefinite index length > 64k */ /* XXX handle indefinite index length > 64k */
value = aper_get_nsnnwn(pd, 65537); value = aper_get_nsnnwn(pd, 65537);
if(value < 0) ASN__DECODE_STARVED; if(value < 0) ASN__DECODE_STARVED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment