Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wicked:qubes-build
bind
bind-9.16.27-0002-CVE-2022-0396.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bind-9.16.27-0002-CVE-2022-0396.patch of Package bind
diff --git a/lib/isc/netmgr/netmgr.c b/lib/isc/netmgr/netmgr.c index b762684ce92..106b5becdc1 100644 --- a/lib/isc/netmgr/netmgr.c +++ b/lib/isc/netmgr/netmgr.c @@ -1720,8 +1720,12 @@ isc__nmhandle_detach(isc_nmhandle_t **handlep FLARG) { handle = *handlep; *handlep = NULL; + /* + * If the closehandle_cb is set, it needs to run asynchronously to + * ensure correct ordering of the isc__nm_process_sock_buffer(). + */ sock = handle->sock; - if (sock->tid == isc_nm_tid()) { + if (sock->tid == isc_nm_tid() && sock->closehandle_cb == NULL) { nmhandle_detach_cb(&handle FLARG_PASS); } else { isc__netievent_detach_t *event =
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor