diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-03-26 14:11:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 10:04:35 -0700 |
commit | 49e67244a577002dcb37bbfdb0698a5306e769ec (patch) | |
tree | 20fe7ca2a57f45fa66e99533dc52327087e09a1f /fs/nls | |
parent | c14d7523633171e0a950047fe729ec2190c690b0 (diff) | |
download | linux-3.10-49e67244a577002dcb37bbfdb0698a5306e769ec.tar.gz linux-3.10-49e67244a577002dcb37bbfdb0698a5306e769ec.tar.bz2 linux-3.10-49e67244a577002dcb37bbfdb0698a5306e769ec.zip |
nfsd4: reject "negative" acl lengths
commit 64a817cfbded8674f345d1117b117f942a351a69 upstream.
Since we only enforce an upper bound, not a lower bound, a "negative"
length can get through here.
The symptom seen was a warning when we attempt to a kmalloc with an
excessive size.
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions