func: void CWE121_Stack_Based_Buffer_Overflow__CWE129_fgets_52_bad() char inputBuffer [ CHAR_ARRAY_SIZE ] = "" ; if ( fgets ( inputBuffer , CHAR_ARRAY_SIZE , stdin ) != NULL )  data = atoi ( inputBuffer ); CWE121_Stack_Based_Buffer_Overflow__CWE129_fgets_52b_badSink ( data ); void CWE121_Stack_Based_Buffer_Overflow__CWE129_fgets_52b_badSink(int data) CWE121_Stack_Based_Buffer_Overflow__CWE129_fgets_52c_badSink ( data ); void CWE121_Stack_Based_Buffer_Overflow__CWE129_fgets_52c_badSink(int data) if ( data >= 0 )  buffer [ data ] = 1; printIntLine ( buffer [ i ] ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); 