[master] 77d6d0be8 cache_vcl: Fix embarassing mistake in the new vdire facility
Nils Goroll
nils.goroll at uplex.de
Mon May 26 13:58:05 UTC 2025
commit 77d6d0be8a91964e063cff98831a0ee8294a6958
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon May 26 15:56:44 2025 +0200
cache_vcl: Fix embarassing mistake in the new vdire facility
Ref b9a204082d73f3347b95e2c58e840849888d4ce2
Spotted by Coverity, CID#1648026
diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index 6a17004e1..944834b29 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -653,7 +653,7 @@ backend_event_delta(const struct vcl *vcl, enum vcl_event_e e, const struct vclt
VDI_Event(vdir->dir, e);
if (vdir == end)
break;
- vdir = VTAILQ_NEXT(vdire->checkpoint, directors_list);
+ vdir = VTAILQ_NEXT(vdir, directors_list);
}
}
More information about the varnish-commit
mailing list