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

Diff for /src/usr.bin/ssh/channels.c between version 1.328 and 1.329

version 1.328, 2013/12/19 01:04:36 version 1.329, 2014/01/31 16:39:19
Line 415 
Line 415 
                 if (cc->abandon_cb != NULL)                  if (cc->abandon_cb != NULL)
                         cc->abandon_cb(c, cc->ctx);                          cc->abandon_cb(c, cc->ctx);
                 TAILQ_REMOVE(&c->status_confirms, cc, entry);                  TAILQ_REMOVE(&c->status_confirms, cc, entry);
                 bzero(cc, sizeof(*cc));                  explicit_bzero(cc, sizeof(*cc));
                 free(cc);                  free(cc);
         }          }
         if (c->filter_cleanup != NULL && c->filter_ctx != NULL)          if (c->filter_cleanup != NULL && c->filter_ctx != NULL)
Line 2646 
Line 2646 
                 return;                  return;
         cc->cb(type, c, cc->ctx);          cc->cb(type, c, cc->ctx);
         TAILQ_REMOVE(&c->status_confirms, cc, entry);          TAILQ_REMOVE(&c->status_confirms, cc, entry);
         bzero(cc, sizeof(*cc));          explicit_bzero(cc, sizeof(*cc));
         free(cc);          free(cc);
 }  }
   
Line 3271 
Line 3271 
         free(cctx->host);          free(cctx->host);
         if (cctx->aitop)          if (cctx->aitop)
                 freeaddrinfo(cctx->aitop);                  freeaddrinfo(cctx->aitop);
         bzero(cctx, sizeof(*cctx));          memset(cctx, 0, sizeof(*cctx));
         cctx->host = NULL;  
         cctx->ai = cctx->aitop = NULL;  
 }  }
   
 /* Return CONNECTING channel to remote host, port */  /* Return CONNECTING channel to remote host, port */

Legend:
Removed from v.1.328  
changed lines
  Added in v.1.329