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

Diff for /src/usr.bin/ssh/sshkey-xmss.c between version 1.5 and 1.6

version 1.5, 2019/06/28 13:35:04 version 1.6, 2019/10/09 00:02:57
Line 971 
Line 971 
                 goto out;                  goto out;
         }          }
         /* check that an appropriate amount of auth data is present */          /* check that an appropriate amount of auth data is present */
         if (sshbuf_len(encoded) < encrypted_len + authlen) {          if (sshbuf_len(encoded) < authlen ||
               sshbuf_len(encoded) - authlen < encrypted_len) {
                 r = SSH_ERR_INVALID_FORMAT;                  r = SSH_ERR_INVALID_FORMAT;
                 goto out;                  goto out;
         }          }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6