diff options
author | Lev Walkin <vlm@lionet.info> | 2005-06-08 00:40:39 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-06-08 00:40:39 +0000 |
commit | 890544536421319e96defc64b1b556e466f61f73 (patch) | |
tree | 25531d580d3e339d795991815b511556b0e31e3b /asn1c | |
parent | 9d2f82f8771e2e99fe2de79d492ec27ed001ecb2 (diff) |
indefinite length should not cause this
Diffstat (limited to 'asn1c')
-rw-r--r-- | asn1c/unber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1c/unber.c b/asn1c/unber.c index db00157f..73004363 100644 --- a/asn1c/unber.c +++ b/asn1c/unber.c @@ -217,7 +217,7 @@ static pd_code_e process_deeper(const char *fname, FILE *fp, asn1c_integer_t *of /* Get the next byte from the input stream */ ch = fgetc(fp); if(ch == -1) { - if(tblen || limit) { + if(tblen || limit > 0) { fprintf(stderr, "%s: Unexpected end of file (TL)" " at %" PRIdASN "\n", |