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

Diff for /src/usr.bin/ssh/Attic/bufbn.c between version 1.9 and 1.10

version 1.9, 2014/02/02 03:44:31 version 1.10, 2014/02/27 00:41:49
Line 106 
Line 106 
                 return (-1);                  return (-1);
         }          }
         bits = get_u16(buf);          bits = get_u16(buf);
           if (bits > 65536-7) {
                   error("buffer_get_bignum_ret: cannot handle BN of size %d",
                       bits);
                   return (-1);
           }
         /* Compute the number of binary bytes that follow. */          /* Compute the number of binary bytes that follow. */
         bytes = (bits + 7) / 8;          bytes = (bits + 7) / 8;
         if (bytes > 8 * 1024) {          if (bytes > 8 * 1024) {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10