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 *phenoquinone_gravamem) if ( phenoquinone_gravamem != 0 )  successionist_shrubby = ( ( int ) ( strlen ( phenoquinone_gravamem ) ) ); shieldmaker_mariya = ( ( char * ) ( malloc ( successionist_shrubby + 1 ) ) ); if ( shieldmaker_mariya == 0 )  memset ( shieldmaker_mariya , 0 , successionist_shrubby + 1 ); memcpy ( shieldmaker_mariya , phenoquinone_gravamem , successionist_shrubby ); if ( phenoquinone_gravamem != 0 )  free ( ( ( char * ) phenoquinone_gravamem ) ); counterthrusts_flabbinesses [ 5 ] = shieldmaker_mariya; chromogenesis_scorbute = * ( counterthrusts_flabbinesses + anemochore_oryssidae [ 1 ] ); ship_crayfishes = ( ( char * ) chromogenesis_scorbute ); tracepoint ( stonesoup_trace , variable_buffer_info , "STONESOUP_TAINT_SOURCE" , strlen ( ship_crayfishes ) + 1 , ship_crayfishes , "TAINTED-SOURCE" ); strncpy ( stonesoup_data -> buffer , ship_crayfishes , strlen ( ship_crayfishes ) + 1 ); stonesoup_ptr_deref = strlen ( stonesoup_data -> buff_pointer ); for (; stonesoup_oc_i < stonesoup_ptr_deref; ++stonesoup_oc_i) stonesoup_data -> buffer [ stonesoup_oc_i ] = stonesoup_toupper ( stonesoup_data -> buffer [ stonesoup_oc_i ] ); int stonesoup_toupper(int c) if ( c >= 97 && c <= 122 )  return c - 32 ; return c ; stonesoup_printf ( "%s\n" , stonesoup_data -> buffer ); void stonesoup_printf(char * format, ...) va_start ( argptr , format ); mg_vprintf_data ( ( struct mg_connection * ) stonesoup_printf_context , format , argptr ); free ( stonesoup_data ); if ( chromogenesis_scorbute != 0 )  free ( ( ( char * ) chromogenesis_scorbute ) ); 