func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_loop_34_bad() char * data ; CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_loop_34_unionType myUnion ; data = ( char * ) malloc ( 100 * sizeof ( char ) ); memset ( data , 'A' , 100 - 1 ); data [ 100 - 1 ] = '\0'; myUnion . unionFirst = data; char * data = myUnion . unionSecond ; size_t i , dataLen ; dataLen = strlen ( data ); for (i = 0; i < dataLen; i++) 