void b_main_sink(_struct_type my_struct);void _main(){char * data;_struct_type my_struct;data=(char *)malloc(100*sizeof(char));data[0]='\0';strcpy(data, BAD_SRC_FIXED);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){char * data=my_struct.a;for (;*data!='\0';data++){if (*data==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}
void b_main_sink(_struct_type my_struct);static void main(){char * data;_struct_type my_struct;data=(char *)malloc(100*sizeof(char));data[0]='\0';strcpy(data, BAD_SRC_FIXED);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){char * data=my_struct.a;{size_t i;for (i=0;i < strlen(data);i++){if (data[i]==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}}