Commit 44aca24d authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Round up vary length

Round up vary length to make sure that the object workspace can take
the rounded up Vary string without overflowing.
parent 016531bb
......@@ -106,7 +106,7 @@ vbf_beresp2obj(struct busyobj *bo)
if (varyl > 0) {
AN(vary);
assert(varyl == VSB_len(vary));
l += varyl;
l += PRNDUP(varyl);
} else if (varyl < 0) {
/*
* Vary parse error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment