git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6edacf0
)
dlm: check the write size from user
author
David Teigland
<teigland@redhat.com>
Mon, 4 Feb 2013 21:31:22 +0000
(15:31 -0600)
committer
David Teigland
<teigland@redhat.com>
Mon, 4 Feb 2013 21:31:22 +0000
(15:31 -0600)
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>
No differences found