Diff for /libraries/liblber/decode.c between versions 1.4.10.7 and 1.4.10.8

version 1.4.10.7, 1998/10/22 19:35:53 version 1.4.10.8, 1998/10/24 20:06:36
Line 160  ber_getnint( BerElement *ber, long *num, Line 160  ber_getnint( BerElement *ber, long *num,
         sign = (0x80 & *(p+diff) );          sign = (0x80 & *(p+diff) );
         if ( sign && len < sizeof(long) ) {          if ( sign && len < sizeof(long) ) {
                 for ( i = 0; i < diff; i++ ) {                  for ( i = 0; i < diff; i++ ) {
                         *(p+i) = (char) 0xff;                          *(p+i) = (unsigned char) 0xff;
                 }                  }
         }          }
         *num = AC_NTOHL( netnum );          *num = AC_NTOHL( netnum );

Removed from v.1.4.10.7  
changed lines
  Added in v.1.4.10.8


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