func: static void goodG2B() int64_t * data ; CWE122_Heap_Based_Buffer_Overflow__sizeof_int64_t_67_structType myStruct ; data = NULL; data = ( int64_t * ) malloc ( sizeof ( * data ) ); * data = 2147483643L L myStruct . structFirst = data; CWE122_Heap_Based_Buffer_Overflow__sizeof_int64_t_67b_goodG2BSink ( myStruct ); void CWE122_Heap_Based_Buffer_Overflow__sizeof_int64_t_67b_goodG2BSink(CWE122_Heap_Based_Buffer_Overflow__sizeof_int64_t_67_structType myStruct) int64_t * data = myStruct . structFirst ; free ( data ); 