Skip to content

Commit

Permalink
Minor cleanup.
Browse files Browse the repository at this point in the history
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 f49ee68
- aper: use correct function for APER decoder    0abceb4
- aper: fix invalid read                         d158c57
  • Loading branch information
mouse07410 committed Jun 24, 2020
1 parent 2ca78d9 commit 5c2a208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeletons/NativeEnumerated.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
*/
//value = uper_get_nsnnwn(pd);
/* XXX handle indefinite index length > 64k */
value = aper_get_nsnnwn(pd, 65537);
if(value < 0) ASN__DECODE_STARVED;
Expand Down

0 comments on commit 5c2a208

Please sign in to comment.