func: static void goodG2B2() char * data ; data = NULL; data = CWE126_Buffer_Overread__malloc_char_memcpy_22_goodG2B2Source ( data ); char * CWE126_Buffer_Overread__malloc_char_memcpy_22_goodG2B2Source(char * data) if ( CWE126_Buffer_Overread__malloc_char_memcpy_22_goodG2B2Global )  data = ( char * ) malloc ( 100 * sizeof ( char ) ); memset ( data , 'A' , 100 - 1 ); data [ 100 - 1 ] = '\0'; return data ; free ( data ); 