From: Stefan Eissing Date: Mon, 29 Jan 2018 11:40:25 +0000 (+0000) Subject: On the trunk: X-Git-Tag: 2.5.0-alpha2-ci-test-only~2921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7328a07d7d293deb5ce62a60c2ce6029104ebad;p=thirdparty%2Fapache%2Fhttpd.git On the trunk: core: adding defines to allow interworking with honggfuzz without further patches. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822500 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 02fc6821101..0adbfd547be 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.1 + *) core: adding defines to allow interworking with honggfuzz without + further patches. [Stefan Eissing, Robert Swiecki] + *) mod_slotmem_shm: Add generation number to shm filename to fix races with graceful restarts. PR 62044. diff --git a/server/main.c b/server/main.c index d0f6b3f808f..cd12521229e 100644 --- a/server/main.c +++ b/server/main.c @@ -484,7 +484,11 @@ static void usage(process_rec *process) destroy_and_exit_process(process, 1); } -int main(int argc, const char * const argv[]) +#ifdef HFND_FUZZING_ENTRY_FUNCTION + HFND_FUZZING_ENTRY_FUNCTION(int argc, const char *const *argv) +#else + int main(int argc, const char *const *argv) +#endif { char c; int showcompile = 0, showdirectives = 0;