func: static void goodG2B() char * data ; char dataBuffer [ 100 ] ; data = dataBuffer; CWE665_Improper_Initialization__char_cat_84_goodG2B * goodG2BObject = new CWE665_Improper_Initialization__char_cat_84_goodG2B ( data ) ; CWE665_Improper_Initialization__char_cat_84_goodG2B::CWE665_Improper_Initialization__char_cat_84_goodG2B(char * dataCopy) data = dataCopy; data [ 0 ] = '\0'; delete goodG2BObject CWE665_Improper_Initialization__char_cat_84_goodG2B::~CWE665_Improper_Initialization__char_cat_84_goodG2B() char source [ 100 ] ; memset ( source , 'C' , 100 - 1 ); source [ 100 - 1 ] = '\0'; strcat ( data , source ); printLine ( data ); void printLine (const char * line) if ( line != NULL )  printf ( "%s\n" , line ); 