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

    r4343 r4640  
    451451    *ob = '\0'; 
    452452 
    453     FREE (ps); 
     453    FREE (ps);          /* __FREE_CHECKED__ */ 
    454454    *ps = buf; 
    455455     
     
    590590  if (fc->cd != (iconv_t)-1) 
    591591    iconv_close (fc->cd); 
    592   FREE (_fc); 
    593 } 
     592  FREE (_fc);           /* __FREE_CHECKED__ */ 
     593}