]> Git Repo - qemu.git/commit
block/nfs: limit maximum readahead size to 1MB
authorPeter Lieven <[email protected]>
Fri, 26 Jun 2015 11:14:01 +0000 (13:14 +0200)
committerStefan Hajnoczi <[email protected]>
Thu, 2 Jul 2015 09:06:23 +0000 (10:06 +0100)
commit29c838cdc96c4d117f00c75bbcb941e1be9590fb
tree5bed69152871bcbb03792c662656903616add9f7
parent9049736ec70fdc886ac0df521fdd8b2886b2cb63
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: [email protected]
Signed-off-by: Peter Lieven <[email protected]>
Message-id: 1435317241[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/nfs.c
This page took 0.022135 seconds and 4 git commands to generate.