[master] 3aff2257e Polish 59034c0101047c86756d3f97c3734162a740da3a
Nils Goroll
nils.goroll at uplex.de
Mon Feb 8 18:37:06 UTC 2021
commit 3aff2257e25ef836fed8446d0e6b30a05b3b4e93
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Feb 8 19:29:15 2021 +0100
Polish 59034c0101047c86756d3f97c3734162a740da3a
Based on feedback from Dridi
diff --git a/lib/libvcc/vcc_symb.c b/lib/libvcc/vcc_symb.c
index 2f8632359..872a8bd47 100644
--- a/lib/libvcc/vcc_symb.c
+++ b/lib/libvcc/vcc_symb.c
@@ -472,6 +472,7 @@ VCC_GlobalSymbol(struct symbol *sym, vcc_type_t type, const char *pfx)
VCC_PrintCName(vsb, sym->name, NULL);
AZ(VSB_finish(vsb));
sym->lname = strdup(VSB_data(vsb));
+ AN(sym->lname);
if (type == SUB) {
VSB_destroy(&vsb);
vsb = VSB_new_auto();
More information about the varnish-commit
mailing list