func: static void goodG2B() char * data ; CWE126_Buffer_Overread__malloc_char_memmove_34_unionType myUnion ; data = NULL; data = ( char * ) malloc ( 100 * sizeof ( char ) ); memset ( data , 'A' , 100 - 1 ); data [ 100 - 1 ] = '\0'; myUnion . unionFirst = data; char * data = myUnion . unionSecond ; free ( data ); 