Diff for /libraries/liblber/decode.c between versions 1.66 and 1.67

version 1.66, 2001/12/09 01:34:46 version 1.67, 2001/12/17 21:42:55
Line 1 Line 1
 /* decode.c - ber input decoding routines */  /* decode.c - ber input decoding routines */
 /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.65 2001/12/04 05:14:16 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.66 2001/12/09 01:34:46 kurt Exp $ */
 /*  /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 143  ber_skip_tag( BerElement *ber, ber_len_t Line 143  ber_skip_tag( BerElement *ber, ber_len_t
         }          }
   
         /* BER element should have enough data left */          /* BER element should have enough data left */
         if( *len > ber_pvt_ber_remaining( ber ) ) {          if( *len > (ber_len_t) ber_pvt_ber_remaining( ber ) ) {
                 return LBER_DEFAULT;                  return LBER_DEFAULT;
         }          }
   

Removed from v.1.66  
changed lines
  Added in v.1.67


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org