search for: 1ee62829

Displaying 3 results from an estimated 3 matches for "1ee62829".

2019 Sep 18
1
[nbdkit PATCH] server: Saner filter .close calls
...; - return b->open (b, conn, readonly); + r = b->open (b, conn, readonly); + if (r == 0) { + assert (h->handle != NULL); + if (b->i) + assert (conn->handles[b->i - 1].handle); + } + return r; } int diff --git a/server/filters.c b/server/filters.c index 5bdc8aa7..1ee62829 100644 --- a/server/filters.c +++ b/server/filters.c @@ -210,10 +210,13 @@ filter_open (struct backend *b, struct connection *conn, int readonly) if (handle == NULL) return -1; backend_set_handle (b, conn, handle); - return 0; } - else - return backend_open (b->next, c...
2019 Sep 19
0
[nbdkit PATCH 1/4] server: Fix regression for NBD_OPT_INFO before NBD_OPT_GO
...free_connection (struct connection *conn) */ if (!quit && connection_get_handle (conn, 0)) { lock_request (conn); - backend->close (backend, conn); + backend_close (backend, conn); unlock_request (conn); } diff --git a/server/filters.c b/server/filters.c index 1ee62829..1091c2dd 100644 --- a/server/filters.c +++ b/server/filters.c @@ -225,12 +225,9 @@ filter_close (struct backend *b, struct connection *conn) struct backend_filter *f = container_of (b, struct backend_filter, backend); void *handle = connection_get_handle (conn, b->i); - debug ("%s:...
2019 Sep 19
7
[nbdkit PATCH 0/4] Spec compliance patches
The first one is the nastiest - it is an assertion failure caused by a spec-compliant client and introduced by our security fix that was released in 1.14.1. Eric Blake (4): server: Fix regression for NBD_OPT_INFO before NBD_OPT_GO server: Fix back-to-back SET_META_CONTEXT server: Forbid NUL in export and context names server: Fix OPT_GO on different export than SET_META_CONTEXT