func: static void goodG2B2() char * data ; char * dataBuffer = ( char * ) ALLOCA ( 100 * sizeof ( char ) ) ; data = dataBuffer; data = CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_loop_22_goodG2B2Source ( data ); char * CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_loop_22_goodG2B2Source(char * data) if ( CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_loop_22_goodG2B2Global )  memset ( data , 'A' , 50 - 1 ); data [ 50 - 1 ] = '\0'; return data ; size_t i , dataLen ; dataLen = strlen ( data ); for (i = 0; i < dataLen; i++) 