func: static void goodB2G() int * data ; data = NULL; data = ( int * ) malloc ( 1 * sizeof ( int ) ); CWE690_NULL_Deref_From_Return__int_malloc_82_base * baseObject = new CWE690_NULL_Deref_From_Return__int_malloc_82_goodB2G baseObject -> action ( data ); void CWE690_NULL_Deref_From_Return__int_malloc_82_goodB2G::action(int * data) if ( data != NULL )  data [ 0 ] = 5; free ( data ); 