func: static void goodB2G() int * data ; CWE690_NULL_Deref_From_Return__int_malloc_34_unionType myUnion ; data = NULL; data = ( int * ) malloc ( 1 * sizeof ( int ) ); myUnion . unionFirst = data; int * data = myUnion . unionSecond ; if ( data != NULL )  data [ 0 ] = 5; free ( data ); 