[master] 33d85cfcb esi_parse_fuzzer: more pro-forma functions

Nils Goroll nils.goroll at uplex.de
Fri Jul 4 18:50:05 UTC 2025


commit 33d85cfcb657457d8f078d53569bf6350611ef68
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Jul 4 20:25:51 2025 +0200

    esi_parse_fuzzer: more pro-forma functions

diff --git a/bin/varnishd/fuzzers/esi_parse_fuzzer.c b/bin/varnishd/fuzzers/esi_parse_fuzzer.c
index 95b25c391..e9c11dffd 100644
--- a/bin/varnishd/fuzzers/esi_parse_fuzzer.c
+++ b/bin/varnishd/fuzzers/esi_parse_fuzzer.c
@@ -40,6 +40,7 @@
 #include "cache/cache_vgz.h"		/* enum vgz_flag */
 #include "cache/cache_esi.h"
 #include "cache/cache_filter.h"		/* struct vfp_ctx */
+#include "cache/cache_obj.h"		/* cache_filter.h uses ObjVAI */
 
 #include "vfil.h"
 
@@ -89,6 +90,24 @@ VSLb_ts(struct vsl_log *l, const char *event, vtim_real first, vtim_real *pprev,
 	(void)now;
 }
 
+int
+ObjVAIlease(struct worker *wrk, vai_hdl vhdl, struct vscarab *scarab)
+{
+
+	(void)wrk;
+	(void)vhdl;
+	(void)scarab;
+	return (0);
+}
+
+void
+ObjVAIreturn(struct worker *wrk, vai_hdl vhdl, struct vscaret *scaret)
+{
+	(void)wrk;
+	(void)vhdl;
+	(void)scaret;
+}
+
 void
 WRK_Log(enum VSL_tag_e tag, const char *fmt, ...)
 {


More information about the varnish-commit mailing list