func: void bad() int data ; data = - 1; CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_malloc_84_bad * badObject = new CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_malloc_84_bad ( data ) ; CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_malloc_84_bad::CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_malloc_84_bad(int dataCopy) data = dataCopy; fscanf ( stdin , "%d" , & data ); delete badObject CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_malloc_84_bad::~CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_malloc_84_bad() if ( data < 100 )  char * dataBuffer = ( char * ) malloc ( data ) ; memset ( dataBuffer , 'A' , data - 1 ); dataBuffer [ data - 1 ] = '\0'; printLine ( dataBuffer ); void printLine (const char * line) if ( line != NULL )  printf ( "%s\n" , line ); free ( dataBuffer ); 