Skip to content

Commit d7328a0

Browse files
committed
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
1 parent 92ac53a commit d7328a0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
-*- coding: utf-8 -*-
22
Changes with Apache 2.5.1
33

4+
*) core: adding defines to allow interworking with honggfuzz without
5+
further patches. [Stefan Eissing, Robert Swiecki]
6+
47
*) mod_slotmem_shm: Add generation number to shm filename to fix races
58
with graceful restarts. PR 62044.
69

server/main.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,11 @@ static void usage(process_rec *process)
484484
destroy_and_exit_process(process, 1);
485485
}
486486

487-
int main(int argc, const char * const argv[])
487+
#ifdef HFND_FUZZING_ENTRY_FUNCTION
488+
HFND_FUZZING_ENTRY_FUNCTION(int argc, const char *const *argv)
489+
#else
490+
int main(int argc, const char *const *argv)
491+
#endif
488492
{
489493
char c;
490494
int showcompile = 0, showdirectives = 0;

0 commit comments

Comments
 (0)