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
  • rfc2047.c

    r4343 r4640  
    565565                  encode_specials ? RFC822Specials : NULL); 
    566566 
    567   FREE (pd); 
     567  FREE (pd);            /* __FREE_CHECKED__ */ 
    568568  *pd = e; 
    569569} 
     
    762762  *d = 0; 
    763763 
    764   FREE (pd); 
     764  FREE (pd);            /* __FREE_CHECKED__ */ 
    765765  *pd = d0; 
    766766  mutt_str_adjust (pd);