Diff for /libraries/liblber/decode.c between versions 1.81 and 1.82

version 1.81, 2002/01/06 05:10:05 version 1.82, 2002/01/07 20:48:17
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.80 2002/01/06 04:36:07 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.81 2002/01/06 05:10:05 hyc Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 422  ber_get_stringbv( BerElement *ber, struc Line 422  ber_get_stringbv( BerElement *ber, struc
                 return LBER_DEFAULT;                  return LBER_DEFAULT;
         }          }
   
         if ( ber_pvt_ber_remaining( ber ) < bv->bv_len ) {          if ( (ber_len_t) ber_pvt_ber_remaining( ber ) < bv->bv_len ) {
                 return LBER_DEFAULT;                  return LBER_DEFAULT;
         }          }
   

Removed from v.1.81  
changed lines
  Added in v.1.82


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