Show
Ignore:
Timestamp:
2006-05-18 10:35:29 (3 years ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Avoid safe_free() usage and add security checks

Add checks to check_sec.sh for memory functions.

These include a check for use of safe_free() instead of FREE() and a
check whether FREE(&...) is used.

For the former, SAFE_FREE_CHECKED is to be used, for the latter
FREE_CHECKED to avoid messages from check_sec.sh

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mutt_idna.c

    r4445 r4640  
    9090   
    9191 notrans: 
    92   FREE (out); 
     92  FREE (out);           /* __FREE_CHECKED__ */ 
    9393  *out = safe_strdup (in); 
    9494  return 1; 
     
    115115  if (rv < 0) 
    116116  { 
    117     FREE (out); 
     117    FREE (out);         /* __FREE_CHECKED__ */ 
    118118    *out = safe_strdup (in); 
    119119  }