Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect bug fixes for 7.3.1 #3922

Merged
merged 9 commits into from
Oct 25, 2023
Merged

Collect bug fixes for 7.3.1 #3922

merged 9 commits into from
Oct 25, 2023

Conversation

dridi
Copy link
Member

@dridi dridi commented Apr 20, 2023

This is a list of bug fixes candidates for a 7.3.1 release:

Please note that only the first one was merged, we didn't get a chance to formally approve them during the last bugwash.

walid-git and others added 4 commits April 20, 2023 15:23
with uds abstract sockets, sun_path should start with a NULL character followed
by the socket's name. The name is not considered to be NULL terminated and can
contain NULL bytes which have no special meaning. socklen is used to determine
the length of name and must be set to the length of the struct sockaddr_un up to
the last character of name, otherwise the 108 characters of sun_path will be
treated as the name of the socket, including NULL bytes.
This requirement was dropped in the updated rfc 9113.

Fixes: varnishcache#3911
@dridi
Copy link
Member Author

dridi commented May 15, 2023

TODO: pick c83cc81 too.

@daghf
Copy link
Member

daghf commented May 22, 2023

Another candidate: #3930

@nigoroll
Copy link
Member

I guess #3958 also

@dridi
Copy link
Member Author

dridi commented Jul 17, 2023

And #3957 too.

Suppose the following happens:

vbp_task() finishes with vt->running = 0 and a heap insert. The
vbp_cond is signaled under the lock, but now instead of vbp_thread()
waking up first, VBP_Remove() gets the lock and reaches
assert(vt->heap_idx == VBH_NOIDX) before the racing vbp_thread()
deleted the heap.

This is unlikely to happen with static backends, because for those,
the probe is stopped via the vcl temperature before they get removed.

Fixes nigoroll/libvmod-dynamic#100
@dridi
Copy link
Member Author

dridi commented Oct 24, 2023

This is blocking the release of 7.3.1, see #3996.

@dridi dridi merged commit 1fb4303 into varnishcache:7.3 Oct 25, 2023
1 check passed
@dridi dridi deleted the fixes_73 branch October 25, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants