[Libguestfs] [nbdkit PATCH 0/2] Better response to bogus NBD_CMD_READ

Eric Blake eblake at redhat.com
Wed Nov 15 18:57:57 UTC 2017


When facing a malicious client that is sending bogus NBD_CMD_READ,
we should make sure that we never end up in a situation where we
could try to treat the tail from a command that we diagnosed as
bad as being further commands.

Eric Blake (2):
  connections: Report mid-message EOF as fatal
  connections: Hang up early on insanely large WRITE requests

 src/connections.c | 35 +++++++++++++++++++++++------------
 1 file changed, 23 insertions(+), 12 deletions(-)

-- 
2.13.6




More information about the Libguestfs mailing list