[master] 46e3f3fdf Attempt to fix SunOs/gcc12

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 6 06:19:05 UTC 2021


commit 46e3f3fdfdea1e4bff7c323f4129593c66419245
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 6 06:17:43 2021 +0000

    Attempt to fix SunOs/gcc12

diff --git a/bin/varnishd/fuzzers/esi_parse_fuzzer.c b/bin/varnishd/fuzzers/esi_parse_fuzzer.c
index 2cc659778..246e9180a 100644
--- a/bin/varnishd/fuzzers/esi_parse_fuzzer.c
+++ b/bin/varnishd/fuzzers/esi_parse_fuzzer.c
@@ -85,6 +85,13 @@ WS_Alloc(struct ws *ws, unsigned bytes)
 	return (calloc(1, bytes));
 }
 
+unsigned
+WS_ReserveAll(struct ws *ws)
+{
+	(void)ws;
+	WRONG("Should not be called");
+}
+
 int
 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
 {


More information about the varnish-commit mailing list