func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_loop_61_bad() char * data ; data = ( char * ) malloc ( 100 * sizeof ( char ) ); data = CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_loop_61b_badSource ( data ); char * CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_loop_61b_badSource(char * data) memset ( data , 'A' , 100 - 1 ); data [ 100 - 1 ] = '\0'; return data ; size_t i , dataLen ; dataLen = strlen ( data ); for (i = 0; i < dataLen; i++) 