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

Diff for /src/usr.bin/ssh/monitor.c between version 1.29 and 1.30

version 1.29, 2002/09/26 11:38:43 version 1.30, 2002/11/05 19:45:20
Line 1516 
Line 1516 
 void *  void *
 mm_zalloc(struct mm_master *mm, u_int ncount, u_int size)  mm_zalloc(struct mm_master *mm, u_int ncount, u_int size)
 {  {
         size_t len = size * ncount;          size_t len = (size_t) size * ncount;
         void *address;          void *address;
   
         if (len == 0 || ncount > SIZE_T_MAX / size)          if (len == 0 || ncount > SIZE_T_MAX / size)

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30