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; stonesoup_handle_taint ( stonesoup_tainted_buff ); void stonesoup_handle_taint(char *cholesteric_ripstop) if ( cholesteric_ripstop != 0 )  char stonesoup_input_buf [ stonesoup_MAXLEN ] ; memset ( stonesoup_input_buf , 0 , 16 ); read ( stonesoup_file_desc , stonesoup_input_buf , stonesoup_MAXLEN ); strncpy ( stonesoup_path_buf , stonesoup_input_buf , stonesoup_MAXLEN ); strcat ( stonesoup_path_buf , stonesoup_new_input ); stonesoup_path_buf [ stonesoup_oc_i ] = stonesoup_toupper ( stonesoup_path_buf [ stonesoup_oc_i ] ); int stonesoup_toupper(int c) if ( c >= 97 && c <= 122 )  return c - 32 ; return c ; tracepoint ( stonesoup_trace , variable_signed_integral , "(stonesoup_path_buf[63])" , ( stonesoup_path_buf [ 63 ] ) , & ( stonesoup_path_buf [ 63 ] ) , "TRIGGER-STATE" ); stonesoup_printf ( "%s\n" , stonesoup_path_buf ); void stonesoup_printf(char * format, ...) va_start ( argptr , format ); mg_vprintf_data ( ( struct mg_connection * ) stonesoup_printf_context , format , argptr ); if ( stonesoup_path_buf != 0 )  free ( stonesoup_path_buf ); 