summaryrefslogtreecommitdiffstats
path: root/fs/jbd
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2013-02-04 22:31:22 +0100
committerDavid Teigland <teigland@redhat.com>2013-02-04 22:31:22 +0100
commitd4b0bcf32b946590afd29e202d6a399b84fe6c67 (patch)
treeab44da9a693c1e7fd22e5f45d26e1e7742281516 /fs/jbd
parentMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/po... (diff)
downloadlinux-d4b0bcf32b946590afd29e202d6a399b84fe6c67.tar.xz
linux-d4b0bcf32b946590afd29e202d6a399b84fe6c67.zip
dlm: check the write size from user
Return EINVAL from write if the size is larger than allowed. Do this before allocating kernel memory for the bogus size, which could lead to OOM. Reported-by: Sasha Levin <levinsasha928@gmail.com> Tested-by: Jana Saout <jana@saout.de> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/jbd')
0 files changed, 0 insertions, 0 deletions