current jcc.c,1.458,1.459
Fabian Keil <[email protected]> Mon, 29 May 2017 10:12:52 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28708
Modified Files:
jcc.c
Log Message:
Make sure binaries with fuzzing support are used for fuzzing-related things
... and exit otherwise.
In case of fuzzing builds various data structures are static
which is unsafe when using threads.
Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.458
retrieving revision 1.459
diff -C2 -d -r1.458 -r1.459
*** jcc.c 29 May 2017 10:02:11 -0000 1.458
--- jcc.c 29 May 2017 10:12:50 -0000 1.459
***************
*** 3894,3897 ****
--- 3894,3900 ----
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot