func: void CWE121_Stack_Based_Buffer_Overflow__CWE805_int_alloca_memcpy_66_bad() int * data ; int * dataArray [ 5 ] ; int * dataBadBuffer = ( int * ) ALLOCA ( 50 * sizeof ( int ) ) ; data = dataBadBuffer; dataArray [ 2 ] = data; CWE121_Stack_Based_Buffer_Overflow__CWE805_int_alloca_memcpy_66b_badSink ( dataArray ); void CWE121_Stack_Based_Buffer_Overflow__CWE805_int_alloca_memcpy_66b_badSink(int * dataArray[]) int * data = dataArray [ 2 ] ; int source [ 100 ] = { 0 } ; memcpy ( data , source , 100 * sizeof ( int ) ); printIntLine ( data [ 0 ] ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); 