nbd/no-return-nonvoid.patch
Martin Pluskal 6a043af7c6 - Update to 3.11
* nbd-server: fix unsafe signal handling
  * define error values as part of the protocol
  * docs/proto: clarify NBD_CMD_FLUSH
- Drop nbd_signaling_CVE-2015-0847.patch as fix is included in 
  upstream

OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=33
2015-05-28 11:42:20 +00:00

13 lines
348 B
Diff

Index: nbd-3.11/nbd-server.c
===================================================================
--- nbd-3.11.orig/nbd-server.c
+++ nbd-3.11/nbd-server.c
@@ -1525,6 +1525,7 @@ CLIENT* negotiate(int net, GArray* serve
err_nonfatal("Session terminated by client");
return NULL;
}
+ return NULL;
}
void send_export_info(CLIENT* client) {