Displaying 1 result from an estimated 1 matches for "577f466".
2018 Dec 21
1
[nbdkit PATCH] connections: Don't use uninit memory on early client EOF
...isingly common behavior among some existing clients.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
src/connections.c | 60 ++++++++++++++++++++++++++++++-----------------
1 file changed, 39 insertions(+), 21 deletions(-)
diff --git a/src/connections.c b/src/connections.c
index 58ed6b0..577f466 100644
--- a/src/connections.c
+++ b/src/connections.c
@@ -600,6 +600,31 @@ send_newstyle_option_reply_info_export (struct connection *conn,
return 0;
}
+/* Sub-function during _negotiate_handshake_newstyle, to uniformly handle
+ * a client hanging up on a message boundary.
+ */
+static int __...