func: static int stonesoup_ev_handler(struct mg_connection *conn, enum mg_event ev) char * ifmatch_header ; char * stonesoup_tainted_buff ; int buffer_size = 1000 ; if ( ev == MG_REQUEST )  ifmatch_header = ( char * ) mg_get_header ( conn , "if-match" ); if ( strcmp ( ifmatch_header , "weak_taint_source_value" ) == 0 )  while ( 1 )  stonesoup_tainted_buff = ( char * ) malloc ( buffer_size * sizeof ( char ) ); data_size = mg_get_var ( conn , "data" , stonesoup_tainted_buff , buffer_size * sizeof ( char ) ); if ( data_size < buffer_size )  buffer_size = buffer_size * 2; free ( stonesoup_tainted_buff ); stonesoup_handle_taint ( stonesoup_tainted_buff ); void stonesoup_handle_taint(char *carlile_apioidal) if ( carlile_apioidal != 0 )  tattings_hydroclastic = ( ( char * ) carlile_apioidal ); stonesoup_taint_len = ( ( int ) ( strlen ( tattings_hydroclastic ) ) ); for (; stonesoup_taint_len >= 0; (--stonesoup_buff_size , --stonesoup_taint_len)) stonesoup_data . buffer [ stonesoup_buff_size ] = tattings_hydroclastic [ stonesoup_taint_len ]; tracepoint ( stonesoup_trace , variable_buffer , "stonesoup_data.buffer" , stonesoup_data . buffer , "CROSSOVER-STATE" ); stonesoup_data . buffer [ stonesoup_i ] = stonesoup_toupper ( stonesoup_data . buffer [ stonesoup_i ] ); int stonesoup_toupper(int c) if ( c >= 97 && c <= 122 )  return c - 32 ; return c ; stonesoup_printf ( "%c" , stonesoup_data . before ( stonesoup_data . buffer [ stonesoup_i ] ) ); void stonesoup_printf(char * format, ...) va_start ( argptr , format ); mg_vprintf_data ( ( struct mg_connection * ) stonesoup_printf_context , format , argptr ); tracepoint ( stonesoup_trace , variable_signed_integral , "stonesoup_i" , stonesoup_i , & stonesoup_i , "FINAL-STATE" ); tracepoint ( stonesoup_trace , variable_buffer , "stonesoup_data.buffer" , stonesoup_data . buffer , "FINAL-STATE" ); if ( carlile_apioidal != 0 )  free ( ( ( char * ) carlile_apioidal ) ); 