summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Lieven2015-06-26 13:14:01 +0200
committerStefan Hajnoczi2015-07-02 11:06:23 +0200
commit29c838cdc96c4d117f00c75bbcb941e1be9590fb (patch)
tree5bed69152871bcbb03792c662656903616add9f7 /scripts
parentblock/iscsi: restore compatiblity with libiscsi 1.9.0 (diff)
downloadqemu-29c838cdc96c4d117f00c75bbcb941e1be9590fb.tar.gz
qemu-29c838cdc96c4d117f00c75bbcb941e1be9590fb.tar.xz
qemu-29c838cdc96c4d117f00c75bbcb941e1be9590fb.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions