func: void bad() char * data ; char dataBuffer [ FILENAME_MAX ] = BASEPATH ; data = dataBuffer; CWE23_Relative_Path_Traversal__char_file_w32CreateFile_84_bad * badObject = new CWE23_Relative_Path_Traversal__char_file_w32CreateFile_84_bad ( data ) ; CWE23_Relative_Path_Traversal__char_file_w32CreateFile_84_bad::CWE23_Relative_Path_Traversal__char_file_w32CreateFile_84_bad(char * dataCopy) data = dataCopy; size_t dataLen = strlen ( data ) ; FILE * pFile ; if ( FILENAME_MAX - dataLen > 1 )  pFile = fopen ( FILENAME , "r" ); if ( pFile != NULL )  fclose ( pFile ); 