[master] b3f22f4cc vcc: error check in vcc_walksymbols() for the recursive case

Nils Goroll nils.goroll at uplex.de
Sat Jan 30 20:25:12 UTC 2021


commit b3f22f4ccf70801e042f6dd97649439a017bf9e3
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sat Jan 30 21:08:14 2021 +0100

    vcc: error check in vcc_walksymbols() for the recursive case
    
    Bail out upon first error, as for the non-recursive case.

diff --git a/lib/libvcc/vcc_symb.c b/lib/libvcc/vcc_symb.c
index 807015c09..96cce270f 100644
--- a/lib/libvcc/vcc_symb.c
+++ b/lib/libvcc/vcc_symb.c
@@ -445,6 +445,7 @@ vcc_walksymbols(struct vcc *tl, const struct symtab *root,
 			assert(strcasecmp(st1->name, st2->name) >= 0);
 		st2 = st1;
 		vcc_walksymbols(tl, st1, func, kind);
+		ERRCHK(tl);
 	}
 }
 


More information about the varnish-commit mailing list