Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit 66b17b7

Browse files
committed
hash: Missing oh null check in HSH_Fail()
1 parent 8578447 commit 66b17b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/varnishd/cache/cache_hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ HSH_Fail(struct worker *wrk, struct objcore *oc)
915915
CHECK_OBJ_NOTNULL(oc, OBJCORE_MAGIC);
916916
CHECK_OBJ_NOTNULL(oc->boc, BOC_MAGIC);
917917
oh = oc->objhead;
918-
CHECK_OBJ(oh, OBJHEAD_MAGIC);
918+
CHECK_OBJ_NOTNULL(oh, OBJHEAD_MAGIC);
919919
INIT_OBJ(&rush, RUSH_MAGIC);
920920

921921
/*

0 commit comments

Comments
 (0)