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

Diff for /src/usr.bin/ssh/cipher.c between version 1.100 and 1.101

version 1.100, 2015/01/14 10:29:45 version 1.101, 2015/12/10 17:08:40
Line 347 
Line 347 
         if (cipher->discard_len > 0) {          if (cipher->discard_len > 0) {
                 if ((junk = malloc(cipher->discard_len)) == NULL ||                  if ((junk = malloc(cipher->discard_len)) == NULL ||
                     (discard = malloc(cipher->discard_len)) == NULL) {                      (discard = malloc(cipher->discard_len)) == NULL) {
                         if (junk != NULL)                          free(junk);
                                 free(junk);  
                         ret = SSH_ERR_ALLOC_FAIL;                          ret = SSH_ERR_ALLOC_FAIL;
                         goto bad;                          goto bad;
                 }                  }

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101