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

Diff for /src/usr.bin/ssh/authfile.c between version 1.122 and 1.123

version 1.122, 2016/11/25 23:24:45 version 1.123, 2017/03/26 00:18:52
Line 111 
Line 111 
          * implicit realloc() in the sshbuf code.           * implicit realloc() in the sshbuf code.
          */           */
         if ((st.st_mode & S_IFREG) == 0 || st.st_size <= 0) {          if ((st.st_mode & S_IFREG) == 0 || st.st_size <= 0) {
                 st.st_size = 64*1024; /* 64k should be enough for anyone :) */                  st.st_size = 64*1024; /* 64k ought to be enough for anybody. :) */
                 dontmax = 1;                  dontmax = 1;
         }          }
         if ((r = sshbuf_allocate(blob, st.st_size)) != 0 ||          if ((r = sshbuf_allocate(blob, st.st_size)) != 0 ||

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123