func: void CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_64_bad() size_t data ; data = 0; data = rand ( ); CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_64b_badSink ( & data ); void CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_64b_badSink(void * dataVoidPtr) size_t * dataPtr = ( size_t * ) dataVoidPtr ; size_t data = ( * dataPtr ) ; char * myString ; if ( data > strlen ( HELLO_STRING ) )  myString = ( char * ) malloc ( data * sizeof ( char ) ); strcpy ( myString , HELLO_STRING ); free ( myString ); 