func: void CWE122_Heap_Based_Buffer_Overflow__CWE131_memmove_52_bad() int * data ; data = NULL; data = ( int * ) malloc ( 10 ); CWE122_Heap_Based_Buffer_Overflow__CWE131_memmove_52b_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__CWE131_memmove_52b_badSink(int * data) CWE122_Heap_Based_Buffer_Overflow__CWE131_memmove_52c_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__CWE131_memmove_52c_badSink(int * data) int source [ 10 ] = { 0 } ; memmove ( data , source , 10 * sizeof ( int ) ); free ( data ); 