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

    r4343 r4640  
    127127  FREE (&(*r)->ver); 
    128128   
    129   FREE (r); 
     129  FREE (r);             /* __FREE_CHECKED__ */ 
    130130} 
    131131 
     
    217217    mix_free_remailer (&type2_list[i]); 
    218218   
    219   FREE (type2_list); 
     219  FREE (type2_list);            /* __FREE_CHECKED__ */ 
    220220} 
    221221