X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=fbeb6c0c5c3e9750937cdf7647c5041add5e3e14;hp=dd8b7657457ba53b8b22e05bea782dabf61cf4b6;hb=07ef668ca5994fa1cdc226224a7b6f1db6ac698a;hpb=ff4254b8eefe93be720d1e3ebe358d36a00b9140 diff --git a/jcc.c b/jcc.c index dd8b7657..fbeb6c0c 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.457 2017/05/25 11:17:21 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.460 2017/06/08 13:05:09 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -2678,10 +2678,10 @@ static void handle_established_connection(struct client_state *csp, * delivered the crunch response to the client * and are done here after cleaning up. */ - freez(hdr); - mark_server_socket_tainted(csp); - freez(receive_buffer); - return; + freez(hdr); + mark_server_socket_tainted(csp); + freez(receive_buffer); + return; } /* Buffer and pcrs filter this if appropriate. */ @@ -3893,6 +3893,9 @@ int main(int argc, char **argv) { exit(process_fuzzed_input(fuzz_input_type, fuzz_input_file)); } + log_error(LOG_LEVEL_FATAL, + "When compiled with fuzzing support, Privoxy should only be used for fuzzing. " + "Various data structures are static which is unsafe when using threads."); #endif if (do_config_test) @@ -4358,7 +4361,7 @@ static void listen_loop(void) * new one. * * Which-ever is correct, we will serve 1 more page via the - * old settings. This should probably be a "show-proxy-args" + * old settings. This should probably be a "show-status" * request. This should not be a so common of an operation * that this will hurt people's feelings. */