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 *locky_lamellary) if ( locky_lamellary != 0 )  jerkingly_scribal . preterequine_semimagically = ( ( char * ) locky_lamellary ); reinstruction_noose = & jerkingly_scribal; blusht_foggiest = reinstruction_noose + 5; oophoroma_unbusk = ( ( char * ) ( * ( blusht_foggiest - 5 ) ) . preterequine_semimagically ); stonesoup_buffer_value = atoi ( oophoroma_unbusk ); tracepoint ( stonesoup_trace , variable_signed_integral , "stonesoup_buffer_value" , stonesoup_buffer_value , & stonesoup_buffer_value , "INITIAL-STATE" ); if ( stonesoup_buffer_value < 0 )  stonesoup_size_buffer = ( ( unsigned int ) stonesoup_buffer_value ); stonesoup_malloc_buffer = my_malloc ( stonesoup_size_buffer ); void *my_malloc(unsigned int size) if ( size > 512 )  return malloc ( size ) ; tracepoint ( stonesoup_trace , variable_address , "stonesoup_malloc_buffer" , stonesoup_malloc_buffer , "TRIGGER-STATE" ); memset ( stonesoup_malloc_buffer , 0 , stonesoup_size_buffer ); stonesoup_printf ( "Buffer size is %d\n" , stonesoup_size_buffer ); void stonesoup_printf(char * format, ...) va_start ( argptr , format ); mg_vprintf_data ( ( struct mg_connection * ) stonesoup_printf_context , format , argptr ); if ( stonesoup_malloc_buffer != 0 )  free ( stonesoup_malloc_buffer ); if ( ( * ( blusht_foggiest - 5 ) ) . preterequine_semimagically != 0 )  free ( ( ( char * ) ( * ( blusht_foggiest - 5 ) ) . preterequine_semimagically ) ); 