[master] 2c3ae69bd Flexelint

Nils Goroll nils.goroll at uplex.de
Wed Oct 9 11:07:05 UTC 2024


commit 2c3ae69bd1de9bab8c11678ad61147e278af69e3
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Oct 9 13:05:36 2024 +0200

    Flexelint

diff --git a/vmod/vmod_debug_filters.c b/vmod/vmod_debug_filters.c
index dba6c4a68..e0de9ba19 100644
--- a/vmod/vmod_debug_filters.c
+++ b/vmod/vmod_debug_filters.c
@@ -513,6 +513,7 @@ xyzzy_chksha256_fini(struct vdp_ctx *vdc, void **priv)
 		VSLb(vdc->vsl, SLT_Debug, "sha256 checksum mismatch");
 
 		vsb = VSB_new_auto();
+		AN(vsb);
 		VSB_quote(vsb, digest, sizeof digest, VSB_QUOTE_HEX);
 		AZ(VSB_finish(vsb));
 		VSLb(vdc->vsl, SLT_Debug, "got: %s", VSB_data(vsb));


More information about the varnish-commit mailing list