[master] eb14a0b68 Assert
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Jan 15 14:42:06 UTC 2020
commit eb14a0b68ded6a332c2e4f528c300678abb39fd7
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Wed Jan 15 15:39:04 2020 +0100
Assert
diff --git a/bin/varnishd/cache/cache_gzip.c b/bin/varnishd/cache/cache_gzip.c
index 694ee43d4..33d7e7ae1 100644
--- a/bin/varnishd/cache/cache_gzip.c
+++ b/bin/varnishd/cache/cache_gzip.c
@@ -314,6 +314,7 @@ vdp_gunzip_init(struct req *req, void **priv)
boc = HSH_RefBoc(req->objcore);
if (boc != NULL) {
+ CHECK_OBJ(boc, BOC_MAGIC);
bos = boc->state;
HSH_DerefBoc(req->wrk, req->objcore);
} else
More information about the varnish-commit
mailing list