func: static void goodG2B() char * data ; char dataBuffer [ 100 ] = "" ; data = dataBuffer; CWE134_Uncontrolled_Format_String__char_environment_fprintf_84_goodG2B * goodG2BObject = new CWE134_Uncontrolled_Format_String__char_environment_fprintf_84_goodG2B ( data ) ; CWE134_Uncontrolled_Format_String__char_environment_fprintf_84_goodG2B::CWE134_Uncontrolled_Format_String__char_environment_fprintf_84_goodG2B(char * dataCopy) data = dataCopy; strcpy ( data , "fixedstringtest" ); delete goodG2BObject CWE134_Uncontrolled_Format_String__char_environment_fprintf_84_goodG2B::~CWE134_Uncontrolled_Format_String__char_environment_fprintf_84_goodG2B() fprintf ( stdout , data ); 