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

Diff for /src/usr.bin/ssh/umac.c between version 1.7 and 1.8

version 1.7, 2013/07/22 05:00:17 version 1.8, 2013/11/08 00:39:15
Line 1215 
Line 1215 
     size_t bytes_to_add;      size_t bytes_to_add;
     aes_int_key prf_key;      aes_int_key prf_key;
   
     octx = ctx = xmalloc(sizeof(*ctx) + ALLOC_BOUNDARY);      octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY);
     if (ctx) {      if (ctx) {
         if (ALLOC_BOUNDARY) {          if (ALLOC_BOUNDARY) {
             bytes_to_add = ALLOC_BOUNDARY -              bytes_to_add = ALLOC_BOUNDARY -

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8