[BACK]Return to ber.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ldap

Diff for /src/usr.bin/ldap/Attic/ber.c between version 1.12 and 1.13

version 1.12, 2018/07/09 09:21:26 version 1.13, 2018/07/13 08:30:10
Line 1032 
Line 1032 
                         return -1;                          return -1;
                 t = (t << 7) | (u & ~BER_TAG_MORE);                  t = (t << 7) | (u & ~BER_TAG_MORE);
                 i++;                  i++;
                   if (i > sizeof(unsigned long)) {
                           errno = ERANGE;
                           return -1;
                   }
         } while (u & BER_TAG_MORE);          } while (u & BER_TAG_MORE);
   
         if (i > sizeof(unsigned long)) {  
                 errno = ERANGE;  
                 return -1;  
         }  
   
         *tag = t;          *tag = t;
         return i + 1;          return i + 1;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13