Skip to content

Commit 92c85db

Browse files
committed
SQUASHME: missing assertion in hsh_rush1()
1 parent 3a01bb2 commit 92c85db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/varnishd/cache/cache_hash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ hsh_rush1(const struct worker *wrk, struct objcore *oc, struct rush *r)
674674
CHECK_OBJ_NOTNULL(oh, OBJHEAD_MAGIC);
675675
Lck_AssertHeld(&oh->mtx);
676676

677+
AZ(oc->flags & OC_F_BUSY);
677678
if (oc->flags & (OC_F_WITHDRAWN|OC_F_FAILED))
678679
max = 1;
679680
else if (oc->flags & (OC_F_HFM|OC_F_HFP|OC_F_CANCEL|OC_F_PRIVATE|

0 commit comments

Comments
 (0)