X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fber_tag.c;h=f6c3576879df17011664847ae7a3a85c1d4e729f;hb=1b06a5c10770ef964044f824a33d4cc8652d8e7a;hp=fd23a966c0962ebca8912e4fd0739d5ea6f066cf;hpb=10981b2f116449523a9f628c20a78212ce91553e;p=yaz-moved-to-github.git diff --git a/odr/ber_tag.c b/odr/ber_tag.c index fd23a96..f6c3576 100644 --- a/odr/ber_tag.c +++ b/odr/ber_tag.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: ber_tag.c,v $ - * Revision 1.3 1995-02-09 15:51:46 quinn + * Revision 1.4 1995-02-10 15:55:28 quinn + * Bug fixes, mostly. + * + * Revision 1.3 1995/02/09 15:51:46 quinn * Works better now. * * Revision 1.2 1995/02/07 17:52:59 quinn @@ -51,6 +54,8 @@ int ber_tag(ODR o, const void *p, int class, int tag, int *constructed) #endif return 1; case ODR_DECODE: + if (o->stackp > -1 && !odr_constructed_more(o)) + return 0; if (lclass < 0) { if ((br = ber_dectag(o->bp, &lclass, <ag, &lcons)) <= 0)