summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2016-10-10 10:51:24 -0700
committerSinclair Yeh <syeh@vmware.com>2016-10-10 11:15:04 -0700
commit51ab70bed997f64f091a639dbe22b629725a7faf (patch)
tree4f71f2626a0b7f7f57e1b8ca3cbcc37cd434b541 /samples
parent728c3b53995f71e4b175d5939b8ba3211b6bc34d (diff)
downloadop-kernel-dev-51ab70bed997f64f091a639dbe22b629725a7faf.zip
op-kernel-dev-51ab70bed997f64f091a639dbe22b629725a7faf.tar.gz
drm/vmwgfx: Limit the user-space command buffer size
With older hardware versions, the user could specify arbitrarily large command buffer sizes, causing a vmalloc / vmap space exhaustion. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Sinclair Yeh <syeh@vmware.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud