[master] 5ea133b18 Add a missing ERRCHK()

Poul-Henning Kamp phk at FreeBSD.org
Tue Nov 9 07:53:07 UTC 2021


commit 5ea133b18f4fe9f8c454c3931f5a3ba2e2025c64
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 9 07:47:55 2021 +0000

    Add a missing ERRCHK()

diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index cdd2bd498..dcc0c07c9 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -777,6 +777,7 @@ vcc_expr5(struct vcc *tl, struct expr **e, vcc_type_t fmt)
 			AN(sym);
 			VCC_GlobalSymbol(sym, fmt);
 		}
+		ERRCHK(tl);
 		if (sym == NULL)
 			AZ(VCC_SymbolGet(tl, SYM_MAIN, SYM_NONE,
 			    SYMTAB_PARTIAL, XREF_REF));


More information about the varnish-commit mailing list