[master] 8a7f5ab50 Null check
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Feb 6 17:34:09 UTC 2019
commit 8a7f5ab5070549681a3c32bd2ad7ee69c38d01f5
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Wed Feb 6 18:33:21 2019 +0100
Null check
diff --git a/bin/varnishd/cache/cache_esi_deliver.c b/bin/varnishd/cache/cache_esi_deliver.c
index 1462832a1..22d0b0855 100644
--- a/bin/varnishd/cache/cache_esi_deliver.c
+++ b/bin/varnishd/cache/cache_esi_deliver.c
@@ -254,6 +254,7 @@ ved_vdp_esi_init(struct req *req, void **priv)
{
struct ecx *ecx;
+ AN(priv);
AZ(*priv);
ALLOC_OBJ(ecx, ECX_MAGIC);
AN(ecx);
More information about the varnish-commit
mailing list