diff options
author | Ilya Dryomov <[email protected]> | 2014-10-22 18:15:37 +0400 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2014-10-31 23:43:08 +0300 |
commit | e9226d7c9f1d83278d78675d51acc07e1a78cb27 (patch) | |
tree | b323046a1fe6d6a4e3630bcb5b08d3cd74776daf /tools/perf/util/trace-event-scripting.c | |
parent | a8d4205623ae965e36c68629db306ca0695a2771 (diff) |
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 <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions