Peter Lieven 29c838cdc9 block/nfs: limit maximum readahead size to 1MB
a malicious caller could otherwise specify a very
large value via the URI and force libnfs to allocate
a large amount of memory for the readahead buffer.

Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Message-id: 1435317241-25585-1-git-send-email-pl@kamp.de
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-07-02 10:06:23 +01:00
..
2015-06-22 18:20:40 +02:00
2015-06-22 18:20:40 +02:00
2015-06-22 18:20:40 +02:00
2015-06-23 15:08:52 +01:00
2015-06-22 18:20:40 +02:00
2015-06-23 15:06:17 +01:00