[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.254 and 1.255

version 1.254, 2013/09/12 01:41:12 version 1.255, 2013/11/08 00:39:15
Line 828 
Line 828 
 client_expect_confirm(int id, const char *request,  client_expect_confirm(int id, const char *request,
     enum confirm_action action)      enum confirm_action action)
 {  {
         struct channel_reply_ctx *cr = xmalloc(sizeof(*cr));          struct channel_reply_ctx *cr = xcalloc(1, sizeof(*cr));
   
         cr->request_type = request;          cr->request_type = request;
         cr->action = action;          cr->action = action;
Line 851 
Line 851 
                 return;                  return;
         }          }
   
         gc = xmalloc(sizeof(*gc));          gc = xcalloc(1, sizeof(*gc));
         gc->cb = cb;          gc->cb = cb;
         gc->ctx = ctx;          gc->ctx = ctx;
         gc->ref_count = 1;          gc->ref_count = 1;
Line 1426 
Line 1426 
 {  {
         struct escape_filter_ctx *ret;          struct escape_filter_ctx *ret;
   
         ret = xmalloc(sizeof(*ret));          ret = xcalloc(1, sizeof(*ret));
         ret->escape_pending = 0;          ret->escape_pending = 0;
         ret->escape_char = escape_char;          ret->escape_char = escape_char;
         return (void *)ret;          return (void *)ret;

Legend:
Removed from v.1.254  
changed lines
  Added in v.1.255