diff options
author | Ilya Dryomov <idryomov@redhat.com> | 2014-10-22 18:15:37 +0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-10-31 23:43:08 +0300 |
commit | e9226d7c9f1d83278d78675d51acc07e1a78cb27 (patch) | |
tree | b323046a1fe6d6a4e3630bcb5b08d3cd74776daf /kernel/audit.c | |
parent | a8d4205623ae965e36c68629db306ca0695a2771 (diff) | |
download | op-kernel-dev-e9226d7c9f1d83278d78675d51acc07e1a78cb27.zip op-kernel-dev-e9226d7c9f1d83278d78675d51acc07e1a78cb27.tar.gz |
libceph: eliminate unnecessary allocation in process_one_ticket()
Commit c27a3e4d667f ("libceph: do not hard code max auth ticket len")
while fixing a buffer overlow tried to keep the same as much of the
surrounding code as possible and introduced an unnecessary kmalloc() in
the unencrypted ticket path. It is likely to fail on huge tickets, so
get rid of it.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions