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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.256 and 1.257

version 1.256, 2013/11/20 20:54:10 version 1.257, 2014/01/31 16:39:19
Line 541 
Line 541 
                 gc->cb(type, seq, gc->ctx);                  gc->cb(type, seq, gc->ctx);
         if (--gc->ref_count <= 0) {          if (--gc->ref_count <= 0) {
                 TAILQ_REMOVE(&global_confirms, gc, entry);                  TAILQ_REMOVE(&global_confirms, gc, entry);
                 bzero(gc, sizeof(*gc));                  explicit_bzero(gc, sizeof(*gc));
                 free(gc);                  free(gc);
         }          }
   
Line 867 
Line 867 
         int cancel_port, ok;          int cancel_port, ok;
         Forward fwd;          Forward fwd;
   
         bzero(&fwd, sizeof(fwd));          memset(&fwd, 0, sizeof(fwd));
         fwd.listen_host = fwd.connect_host = NULL;          fwd.listen_host = fwd.connect_host = NULL;
   
         leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);          leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);

Legend:
Removed from v.1.256  
changed lines
  Added in v.1.257